Wednesday, August 11, 2010

How can i add combobox, textbox, and command button to a datagrid?

I am not sure if it is datagrid or datalist or whatever but i saw this grid that has combobox,textbox and command button features and i want to have something like that. Is it possible?How can i add combobox, textbox, and command button to a datagrid?
you need to place datacombo /textboxes as line input. datacombo will retrieve desired data from recordsource textboxes will store user input and if update command button is pressed it will populate datagrid.





So line input will take input from users and Update command button will display these data into datagrid.


How can i add combobox, textbox, and command button to a datagrid?
Hi,


it may be a Repeater component...


you can design one item as template(if your code is ASP)


and then copy that item into Repeater tags in your code, and then bind items to your Database for more info see :





http://www.codeproject.com/KB/aspnet/Mastering_DataBinding.aspx


http://www.codeproject.com/KB/aspnet/TypedRepeater.aspx


http://www.codeproject.com/KB/custom-controls/CollectionPager.aspx


http://www.codeproject.com/KB/webforms/ObjectRepeater.aspx





good luck



No comments:

Post a Comment