62,046
社区成员
发帖
与我相关
我的任务
分享
using (SqlDataReader read = SqlHelper.ExecuteReader(SqlHelper.ConnectionStringLocalTransaction, CommandType.Text, "select * from link_table", null))
{
this.dropLink.DataSource = read;
this.dropLink.DataTextField = "linkname";
this.dropLink.DataValueField = "linkurl";
this.dropLink.DataBind();
}