how to add control in datagrid view in asp.net 3.5

Posted by Panks under Regular Expressions on 12/26/2010 | Points: 10 | Views : 3302 | Status : [Member] | Replies : 2
How to add checkbox or any control in datagrid view in asp.net 3.5


please give me steps.do not give me code.




Responses

Posted by: Laghaterohan on: 12/26/2010 [Member] Starter | Points: 25

Up
0
Down
Hello,

Right click on the GridView control --> Edit Columns--> Add Template Field -->Close the dialog box.
Right click on the GridView control --> Edit Template --> select item template --> drag the checkbox inside the template --> set its properties..

That should add a checkbox in your gridview..similarly you can also add any other control.


Thanks!
Happy Coding :)


Best Regards,
Rohan Laghate

Panks, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/6/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Try this link

http://www.codeproject.com/KB/grid/control_datagrid.aspx

Thanks
Karthik
www.f5Debug.net

Panks, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response