Exemple #1
0
 private void Getcountrytobind()
 {
     CanvasBizProcess canvBiz = new CanvasBizProcess();
     DataSet dsCountryList = canvBiz.GetCountryList();
     ddlCountry.DataSource = dsCountryList;
     ddlCountry.DataTextField = "countryname";
     ddlCountry.DataValueField = "countryid";
     ddlCountry.DataBind();
     ddlCountry.Items.Insert(0, new ListItem("Select Country", ""));
     ViewState["countrylist"] = dsCountryList;
 }