|
-
Nov 28th, 2001, 01:46 PM
#1
Thread Starter
Junior Member
ASP.NET DataGrid
I have a DataGrid on my page with bound labels... However, I am trying to bound a SqlServer bit column to a CheckBox on the form instead of the traditional Label/TextBox controls.... I am using a TemplateColumn instead of a BoundColumn tag but still it doesnt work...Here is what I have
<asp:TemplateColumn HeaderText="asdc">
<ItemTemplate>
<asp:CheckBox Checked='<%# Container.DataItem("ddddd") %>' runat="server" />
</ItemTemplate>
<EditItemTemplate>
<asp:CheckBox id="vvv" Checked='<%# Container.DataItem("ddddd") %>' runat="server" />
</EditItemTemplate>
</TemplateColumn>
Does anyone know what property of the checkbox I can use to bound to a Bit field if not the Checked property...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|