SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SQLCONNECTION"].ConnectionString);
SqlCommand cmd = new SqlCommand("sheng_GetList",conn);
cmd.CommandType = CommandType.StoredProcedure;
DataSet ds = new DataSet();
SqlDataAdapter adp = new SqlDataAdapter();
adp.SelectCommand = cmd;
adp.Fill(ds,"sheng");
this.sheng.DataSource = ds.Tables["sheng"].DefaultView;
this.sheng.DataTextField = "sheng_name";
this.sheng.DataValueField = "sheng_id";
this.sheng.DataBind();
this.sheng.UpdateAfterCallBack = true;
其中 this.sheng.UpdateAfterCallBack = true;在Anthem.ENT框架内才使用,如果是ASP.NET框架,可以省略。