Alex
Alex

Reputation: 2111

Binding data to a Data Repeater - VB.NET?

I'm looking for a line or two of code that will bind a DataSet.Datatable column to a textbox on a Datarepeater?

Upvotes: 0

Views: 4358

Answers (2)

Walter
Walter

Reputation: 2560

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

Upvotes: 0

eugeneK
eugeneK

Reputation: 11116

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") %>

Upvotes: 1

Related Questions