/// <summary> /// Get All Companys from database and bind here. /// </summary> public void BindAllApplicationDetails() { gvCompany.PageSize = PageSize; ApplicationSettingsModel[] model = client.GetAllCompanys(ParlourId, PageSize, PageNum, txtKeyword.Text, sortBYExpression, sortType); gvCompany.DataSource = model; gvCompany.DataBind(); }