i thought i had gotten this but it's acting weird. i'm getting a "1" displayed next to the last checkbox in a set of 3.
3 checkboxes - all seperate fields so no multi-select - just on or off..
each one looks like this:
aspx form:
<tr>
<td align="right">
Training
</td>
<td class="inputpad" style="width: 323px">
<asp:CheckBox ID="training" runat="server" />
</td>
</tr>
C# codebehind:
if (dbDataReader["tbl2_training"] == "1") {
training.checked= true;
}
any insight on what i'm missing would be grand!
3 checkboxes - all seperate fields so no multi-select - just on or off..
each one looks like this:
aspx form:
<tr>
<td align="right">
Training
</td>
<td class="inputpad" style="width: 323px">
<asp:CheckBox ID="training" runat="server" />
</td>
</tr>
C# codebehind:
if (dbDataReader["tbl2_training"] == "1") {
training.checked= true;
}
any insight on what i'm missing would be grand!