H
hazz
I want to display 'n' records for a table-driven data entry page.
The first column should be readonly and the 2nd column, a checkbox WRITABLE
(NOT READONLY).
I can't use the gridview because it creates -> checked="checked"
disabled="disabled"
What I need is more like this;
<form id="form1" runat="server">
<div>
<table>
<tr>
<td style="width: 100px">
<asp:Label ID="Label1" runat="server" Text="Column
Name"></asp:Label></td>
<td style="width: 100px">
<asp:CheckBox ID="CheckBox1" text="Include column in
report" runat="server" /></td>
</tr>
Since all the nice and easy databinding doesn't work with the gridview, how
do I create the above html on the fly as I loop throught the sql datareader?
Thank you,
-Greg
The first column should be readonly and the 2nd column, a checkbox WRITABLE
(NOT READONLY).
I can't use the gridview because it creates -> checked="checked"
disabled="disabled"
What I need is more like this;
<form id="form1" runat="server">
<div>
<table>
<tr>
<td style="width: 100px">
<asp:Label ID="Label1" runat="server" Text="Column
Name"></asp:Label></td>
<td style="width: 100px">
<asp:CheckBox ID="CheckBox1" text="Include column in
report" runat="server" /></td>
</tr>
Since all the nice and easy databinding doesn't work with the gridview, how
do I create the above html on the fly as I loop throught the sql datareader?
Thank you,
-Greg