public void BindCountry() { Chklistcountry.DataSource = visareq.ReadCountry(); Chklistcountry.DataTextField = "CountryName"; Chklistcountry.DataValueField = "COUNTRY_ID"; Chklistcountry.DataBind(); }
public void empty() { txtGroupArea.Text = ""; txtGroupName.Text = ""; txtmember.Text = ""; ddlgroupname.ClearSelection(); DrpdnGroupName.ClearSelection(); Chklistcountry.ClearSelection(); //DropDownList1.ClearSelection(); DropDownList1.Items.Clear(); }