help! i have a gridview with checkbox item template, and on click, those rows that are checked will be inserted into the database. When i close and run my application again, i want those rows previously inserted to remain checked. Means that i have to retrieve data from the database and check against my gridview data....Please advise with C# codes. thkz alot
ishamputra
0
Newbie Poster
Recommended Answers
Jump to PostIf database column bound to the database is boolean type, then the checkbox in the template column will automatically checked.
See my code snippet in this link: http://www.daniweb.com/code/snippet1248.html
In the above code snippet, i have bound a checkbox template column to a boolean field in a DataTable …
All 7 Replies
Ramesh S
129
Posting Pro
ishamputra
0
Newbie Poster
ishamputra
0
Newbie Poster
steve11
0
Newbie Poster
ishamputra
0
Newbie Poster
ishamputra
0
Newbie Poster
ishamputra
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.