471,066 Members | 1,230 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

how to nest CheckBoxList in DataSet ( asp.net vb )

yellow everybody,

This what i did is below, however i'm getting error when Checkboxlist shows
relation' columns.
<asp:DataList id="pytania_list" runat="server" Width="100%" DataSource='<%#
Container.DataItem.row.GetChildRows("relation1_nam e") %>'>
font-size="1pt" font-names="Verdana"></ItemStyle>
width="100%" >

<b><%# Container.DataItem("col1_name")%>.</b><%#

<asp:CheckBoxList id="CheckBoxList1" runat="server"
DataTextField="CH_col1_name" DataSource='<%#
Container.DataItem.GetChildRows("relation2_name") %>'></asp:CheckBoxList>




An error that i get is :DataBinder.Eval: 'System.Data.DataRow' does not
contain a property with the name CH_col1_name.

Anybody has an idea to correct my script ??
Thanks in advance
Nov 18 '05 #1
0 1105

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by me | last post: by
1 post views Thread by Netmonster | last post: by
reply views Thread by Agi Chen | last post: by
3 posts views Thread by I am Sam | last post: by
4 posts views Thread by Patrick.O.Ige | last post: by
6 posts views Thread by dbuchanan | last post: by
3 posts views Thread by dbuchanan | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.