Binding data to a Data Repeater - VB.NET?
I'm looking for a line or two of code that will bind a DataSet.Datatable colum开发者_运维百科n to a textbox on a Datarepeater?
first of you need to bind dataset to Repeater. DataRepeater.DataSource = Dataset.Table("name") DataRepeater.DataBind()
and then find your Textbox Text="" property and set there <%# Bind("columnname") %>
There's a pretty good How-to video on MSDN that covers the DataRepeater. I'd suggest taking a look there.
http://msdn.microsoft.com/en-us/vbasic/cc411420.aspx
精彩评论