how to retrieve inserted checkbox values in checkbox on asp.net page load ?

Posted by user522211 on Stack Overflow See other posts from Stack Overflow or by user522211
Published on 2010-12-30T03:28:43Z Indexed on 2010/12/30 3:53 UTC
Read the original article Hit count: 276

Filed under:
|

i have 5 checkboxes in webform and textbox1...

when i search the record using the date specified in textbox1

when i enter 11-Dec-2010 in Textbox1 and click on submit button then checkbox1, checkbox2, and checkbox3 will be disabled and unchecked .....

and after tat when i type 13-Dec-2010 in Textbox1 and click on submit button then checkbox1, checkbox4, and checkbox5 will be disabled and unchecked .....and all the checkbox of 11-Dec-2010 will be enabled for 13-Dec-2010

I M CURRENTLY WORKING IN ASP.NET (VB)

My Datbase structure :

ID              Name                 Seats                 Date
1               Sumit                1,2,3                 11-Dec-2010
2               Mili                 1,4,5                 13-Dec-2010

Example of this is that site have a look to know more : what i want :

http://www.redbus.in/Booking/SeatSelection.aspx?rt=4034093&doj=28-Feb-2011&dep=05:00%20PM&showSpInst=false

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about vb.net