Live Chat Icon For mobile
Live Chat Icon

How to display the checkbox checked or unchecked for a bit data type value in the DataBase

Platform: ASP.NET| Category: DataGrid

<asp:DataGrid id='DataGrid1' runat='server'>
<asp:TemplateColumn HeaderText='Discontinued'>
<asp:CheckBox id='chk1' Runat =server  checked=<%#DataBinder.Eval(Container.DataItem,'Discontinued')%>></asp:CheckBox>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.