all groups > asp.net datagrid control > september 2004 >
You're in the

asp.net datagrid control

group:

Editable datagrid with drop downs and check boxes - sample code?


Editable datagrid with drop downs and check boxes - sample code? leah NO[at]SPAM kaplooey.com
9/23/2004 9:34:27 AM
asp.net datagrid control: Hi. I'm looking for sample code for an EDITABLE grid with checkboxes,
that, when in editing mode, displays a drop down box in the desired
field(s). I have found editable grid samples for WebMatrix, and drop
down samples for VS, but not a combination of both - in either format.

Any ideas? Or even book suggestions would help, if it contained good
samples.


Thanks,
Re: Editable datagrid with drop downs and check boxes - sample code? Lev Burov
9/23/2004 2:18:40 PM
There are two examples I went through to do similar thing.
Firt one shows you how to create a simple editable datagrid in vb and c#:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolsdatagridclasseditcommandtopic.asp

The second one shows you how to make custom columns using TemplateColumn
instead of BoundColumn. It only shows you how to have a drop down box, but
the concept is pretty clear once you understand the example.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/creatingcustomcolumns.asp


[quoted text, click to view]

AddThis Social Bookmark Button