I have a problem with checkboxes in ASP.NET. I want to store their values after users submit the form and some fields are invalid. For example, in register page, after user submitted the register form, users don't want t开发者_开发知识库o re-check some checkboxes again. I highly appreciate any helps.
Thank you so much :-)
Once completed the Sumbit, Once again you retrieve the Checked CheckBox value from the DataBase(what you have stored) and Check the CheckBox as per the value you stored. Based on the DataBase records, you give like this:
CheckBox1.Checked = true;
精彩评论