Binding data to a Data Repeater - VB.NET?
-
20-09-2019 - |
Question
I'm looking for a line or two of code that will bind a DataSet.Datatable column to a textbox on a Datarepeater?
Solution
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") %>
OTHER TIPS
There's a pretty good How-to video on MSDN that covers the DataRepeater. I'd suggest taking a look there.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow