can anyone show me how to put a combobox in a datagrid?
thanks...
Printable View
can anyone show me how to put a combobox in a datagrid?
thanks...
For VS 2005 I hope this will help you :
http://msdn2.microsoft.com/en-us/library/bxt3k60s.aspx
unfortunately im using VS 2003.Quote:
Originally Posted by apolizoi
any ideas on how to do it on VS 2003?
http://www.syncfusion.com/FAQ/Window...4c.aspx#q1075q
See question 5.9.
thanks! this link was very helpful.Quote:
Originally Posted by jmcilhinney
althought i have a question regarding 5.84 since the link to the VB code was dead.
it says here that instead of using a datagrid i.e having 3 columns (ex:. name, address, email), i can use like for ex: 9 textboxes (3 columns, 3 rows) to display my datatable? is this true?
You can use whatever controls you think appropriate. A grid is a convenient way to display tabular data with an unknown number of rows. If you want to display it some other way that's up to you.
the thing is im worried about navigation of rows if for example i used a set of textboxes... like the example i used earlier... 9 textboxes (3 rows and 3 columns)... if in case my data tables contains more than 3 records/rows, then the textboxes i have will display the first 3 records/rows then i can use a scroll bar to scroll down to the remaining records.. is this possible?
the reason why im asking is because this way might be an easier way to handle triggers/events since i will be using the textboxes events instead of finding a way to create an OnCellLeave event or something like that.