62,268
社区成员
发帖
与我相关
我的任务
分享
SqlConnection conn=new SqlConnection....
SqlDataAdapter sda= new ...
DataSet ds=new DataSet();
sda.Fil(ds,"tablename")
this.GridView1.DataSource = ds.Tables[0];
this.GridView1.DataKeyNames = new string[] { "ID" };
this.GridView1.DataBind();
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/xxx.aspx?ID=" + Eval("主健字段名称") %>' Text=""></asp:HyperLink>