/// <summary> /// binds village data /// </summary> private void searchVillage(string val) { VillageBLL objVillageBLL = new VillageBLL(); grdvillage.DataSource = objVillageBLL.SearchVillage(val); grdvillage.DataBind(); }
/// <summary> /// Set Grid Data source /// </summary> /// <param name="addRow"></param> /// <param name="deleteRow"></param>e private void BindSearchVillage() { string value = txtVillagename.Text; VillageBLL VillageBLLobj = new VillageBLL(); grdvillage.DataSource = VillageBLLobj.SearchVillage(value); grdvillage.DataBind(); }