Esempio n. 1
0
        private void BindData()
        {
            BLL.Services objData = new BLL.Services();
            Companies objCompany = new Companies();
            objCompany.GetCompanyByUserName(User.Identity.Name);

            objData.GetServicesByCompanyIDAndTypeID(objCompany.CompanyID, string.IsNullOrEmpty(uiDropDownListAllServiceType.SelectedValue) ? 0 : Convert.ToInt32(uiDropDownListAllServiceType.SelectedValue));
            uiGridViewServices.DataSource = objData.DefaultView;
            uiGridViewServices.DataBind();
        }