RadioButtonList动态绑定数据库 显示出System.Data.DataRowView
ChangHope_DBdbHope=newChangHope_DB();DataSetdest=dbHope.Db_ds("select*fromYX_blog_CMS...
ChangHope_DB dbHope = new ChangHope_DB();
DataSet dest = dbHope.Db_ds("select * from YX_blog_CMSClass", "YX_blog_CMSClass");
RadioButtonList1.DataSource = dest.Tables[0];
RadioButtonList1.DataBind();
RadioButtonList1.DataTextField = "YX_ClassName";
RadioButtonList1.DataValueField = "YX_ID";
RadioButtonList动态绑定后显示结果是System.Data.DataRowView 展开
DataSet dest = dbHope.Db_ds("select * from YX_blog_CMSClass", "YX_blog_CMSClass");
RadioButtonList1.DataSource = dest.Tables[0];
RadioButtonList1.DataBind();
RadioButtonList1.DataTextField = "YX_ClassName";
RadioButtonList1.DataValueField = "YX_ID";
RadioButtonList动态绑定后显示结果是System.Data.DataRowView 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询