S
sean
Hi There,
I am trying to make the slow transition from asp to asp .net, I want to
display datagrid items based on form name where form name is the only value
that stays the same.
How can I evaluate the text in (DataBinder.Eval(Container.DataItem,
"formname")) and then display multiple rows based on the value?
Could someone help me out with the syntax please?
Sean
<tr>
<td colspan=2><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "formname") %>' /></td></tr>
<tr>
<tr>
<td><b><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "lbl5") %>' /> </b></td>
<td><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "frm5value") %>' /></td>
</tr>
<tr>
<td><b><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "lbl6") %>' /> </b></td>
<td><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "frm6value") %>' /></td>
</tr>
I am trying to make the slow transition from asp to asp .net, I want to
display datagrid items based on form name where form name is the only value
that stays the same.
How can I evaluate the text in (DataBinder.Eval(Container.DataItem,
"formname")) and then display multiple rows based on the value?
Could someone help me out with the syntax please?
Sean
<tr>
<td colspan=2><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "formname") %>' /></td></tr>
<tr>
<tr>
<td><b><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "lbl5") %>' /> </b></td>
<td><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "frm5value") %>' /></td>
</tr>
<tr>
<td><b><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "lbl6") %>' /> </b></td>
<td><asp:Label Runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "frm6value") %>' /></td>
</tr>