protected void ddlProvince2_SelectedIndexChanged(object sender, EventArgs e) { OtherFunctions obj = new OtherFunctions(); DataSet ds = obj.GetAllDistrict("District", Globals.AgentCatID, Convert.ToInt32(ddlProvince2.SelectedValue)); GridViewHelper gvHelper = new GridViewHelper(); gvHelper.FillData(gridViewItem, ds); }
private void LoadGridViewItem() { try { OtherFunctions obj = new OtherFunctions(); DataSet ds = obj.GetAllDistrict("District", Globals.AgentCatID, CountryID); GridViewHelper gvHelper = new GridViewHelper(); gvHelper.FillData(gridViewItem, ds); } catch { } }