<asp:CheckBox ID="cbhis" runat="server" Text="Hi Speed Internet"></asp:CheckBox> Dim his As String = "" If cbhis.Checked = True Then his = "True" Else his = "False" End If
yogeshc says: checkbox1.checked
checkbox1.checked
above code will return false if it is unchecked and true when it is checked so cross check your code properly.
Tell one thing is it your checkboxes checked value assigned on pageload event or some other event?
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.