Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找将 DataSet.Datatable 列绑定到 Datarepeater 上的文本框的一两行代码?
首先你需要将数据集绑定到Repeater。DataRepeater.DataSource = Dataset.Table("name") DataRepeater.DataBind()
然后找到你的 Textbox Text="" 属性并在那里设置 <%# Bind("columnname") %>
MSDN 上有一个很好的 How-to 视频,涵盖了 DataRepeater。我建议去那里看看。
http://msdn.microsoft.com/en-us/vbasic/cc411420.aspx