RadioButtonList databind

danyeungw

Well-known member
Joined
Aug 30, 2005
Messages
73
Programming Experience
10+
I did a databind for a RadioButtonList using the following code:

RadioButtonList1 .DataSource = dsLabels
RadioButtonList1.DataBind()

and I got "System.Data.DataRowView" on the RadioButtonList text. What did I miss?

Thanks,
DanYeung
 
RadioButtonList1.DataTextField ... that specifies the field of the data source that provides the text content of the list items
 
Back
Top