开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜