Monday, August 16, 2010

In asp.net how to create textbox, command button in datagrid control help me?

its simple, drag and drop ur controls from tool box,


In tool box u have textbox,command button and datagrid .In asp.net how to create textbox, command button in datagrid control help me?
if you are using asp.net 2.0, it is better to use a GridView instead of a DataGrid.





With a DataGrid, you can add a template column. Here are some examples


http://www.codeproject.com/KB/webforms/M鈥?/a>


http://aspnet.4guysfromrolla.com/article鈥?/a>


http://harishmvp.blogspot.com/2005/11/as鈥?/a>





With a GridView you can use a template field. Here are some examples:


http://msdn.microsoft.com/en-us/library/鈥?/a>


http://msconline.maconstate.edu/tutorial鈥?/a>





HOpe this helps.

No comments:

Post a Comment