public void PopulateServerType(DropDownList ddlGridServerType) { objclsBALApplication = new clsBALApplication(); DataSet ds1 = new DataSet(); ds1 = objclsBALApplication.GetDBServerTypes(); ddlGridServerType.DataSource = ds1; ddlGridServerType.DataTextField = "servertype"; ddlGridServerType.DataValueField = "servertypeid"; ddlGridServerType.DataBind(); ddlGridServerType.Items.Insert(0, new ListItem("-- Select --", "0")); }