Click here to Skip to main content
15,885,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Retrieving checkbox value from db Pin
test-0918-Feb-10 19:55
test-0918-Feb-10 19:55 
GeneralRe: Retrieving checkbox value from db Pin
Dinesh Mani18-Feb-10 20:08
Dinesh Mani18-Feb-10 20:08 
GeneralRe: Retrieving checkbox value from db Pin
Ravindra Nidhonkar18-Feb-10 22:32
Ravindra Nidhonkar18-Feb-10 22:32 
AnswerRe: Retrieving checkbox value from db Pin
Anurag Gandhi18-Feb-10 18:38
professionalAnurag Gandhi18-Feb-10 18:38 
GeneralRe: Retrieving checkbox value from db Pin
test-0918-Feb-10 18:46
test-0918-Feb-10 18:46 
AnswerRe: Retrieving checkbox value from db Pin
Brij18-Feb-10 18:48
mentorBrij18-Feb-10 18:48 
GeneralRe: Retrieving checkbox value from db Pin
test-0918-Feb-10 18:56
test-0918-Feb-10 18:56 
GeneralRe: Retrieving checkbox value from db Pin
Brij18-Feb-10 19:10
mentorBrij18-Feb-10 19:10 
See your variable str13 is not associated to the every item/checkbox in datalist so it will alyas be the latest.

Regarding the checkbox, try to debug the the code whether you arre able to access all the checkbox in the datalist and their associated values.If you are able to get the checkbox's value specifically then why they are not getting inserted.
One reason I can think of your row might be getting updated everytime so thats you are getting the latest one.Verify it.

Also


test-09 wrote:
"insert into test(test1) values('"+ck.Text+"')";


you checkbox is chk not ck. Smile | :)
Cheers!!
Brij

GeneralRe: Retrieving checkbox value from db Pin
test-0918-Feb-10 23:34
test-0918-Feb-10 23:34 
QuestionUsing session and events Pin
ishwarya mahadevan18-Feb-10 17:34
ishwarya mahadevan18-Feb-10 17:34 
AnswerRe: Using session and events Pin
Brij18-Feb-10 19:00
mentorBrij18-Feb-10 19:00 
Questioncatch (SmtpFailedRecipientsException ex) does not work Pin
theOzLizard18-Feb-10 14:10
theOzLizard18-Feb-10 14:10 
QuestionIndexing dynamic urls Pin
Paul McGann18-Feb-10 12:16
professionalPaul McGann18-Feb-10 12:16 
QuestionODP.Net Connection Pool Error Pin
AndyASPVB18-Feb-10 10:12
AndyASPVB18-Feb-10 10:12 
AnswerRe: ODP.Net Connection Pool Error Pin
Not Active18-Feb-10 10:37
mentorNot Active18-Feb-10 10:37 
QuestionHow to save values in editable gridview? Pin
students552 university18-Feb-10 10:08
students552 university18-Feb-10 10:08 
AnswerRe: How to save values in editable gridview? Pin
Not Active18-Feb-10 10:22
mentorNot Active18-Feb-10 10:22 
Questiondynamically change the name of a login control DB Pin
arkiboys18-Feb-10 7:54
arkiboys18-Feb-10 7:54 
AnswerRe: dynamically change the name of a login control DB Pin
Abhishek Sur18-Feb-10 9:55
professionalAbhishek Sur18-Feb-10 9:55 
GeneralRe: dynamically change the name of a login control DB Pin
arkiboys18-Feb-10 11:11
arkiboys18-Feb-10 11:11 
Questionwebconfig Pin
arkiboys18-Feb-10 6:47
arkiboys18-Feb-10 6:47 
AnswerRe: webconfig Pin
Not Active18-Feb-10 6:59
mentorNot Active18-Feb-10 6:59 
GeneralRe: webconfig Pin
arkiboys18-Feb-10 7:03
arkiboys18-Feb-10 7:03 
AnswerRe: webconfig Pin
Rutvik Dave18-Feb-10 7:23
professionalRutvik Dave18-Feb-10 7:23 
GeneralRe: webconfig Pin
arkiboys18-Feb-10 7:32
arkiboys18-Feb-10 7:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.