Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any sample to teach you how to add check box in data grid as a column? 1

Status
Not open for further replies.

adonet

MIS
Joined
May 4, 2004
Messages
312
Location
US
Any sample to teach you how to add check box in data grid as a column? I want to user can select row(s) by checking the box.
 
ado: You're not going to believe this, but I just put out a FAQ, not even an hour ago, at: faq855-5438

Should be enought there to get you going...







 
Hi Isadore,

Thanks for the FAQ. It gets me rolling on this project with a datagrid control. However, I am having a difficulty on the statement of directcast in your FAQ. For some reasons, my selection on the checkbox disappear when it reaches that statement; thus, it fails the test and nothing get set.

My situation is very simple as I only want 1 check box to be check at a time (not multiple like yours). I have been checking over the code segment many times and still can not figure it out. Can you please shed some light into this since I am faily new at the web dev. and .net stuff.

TIA
 
There's also Part 11 of the "An Extensive Examination of the DataGrid Web Control" article on 4guysfromrolla.com that you can read/follow:



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.
 
Thanks ca8msm - I added this link to the FAQ.
 
Oh yes, I forgot to say thanks for the FAQ - some good info in there. Gets a [thumbsup2] from me!


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top