hi,
I use data grid.My requirement now is to generate controls(there should be separate column for controls which gets generated dynamically-depending on the number of rows in data grid)
The column type property of data grid is used for this(to generte textbox,combo,links )
now my requirement is to generate up/down control(incrementer and decrementer) in the datagrid.There should be number of up/down controls generated dynamically based on the number of rows in data grid.
How do i do this???I desperately need some help!!! got stuck with it for long time
I saw a few tutorials which i couldn't understand..
As i am a beginner it would be very helpfull if i get a clear explanation and good assistance.
Thanks
Data Grid and controls
Page 1 of 14 Replies - 662 Views - Last Post: 10 January 2010 - 05:02 AM
Replies To: Data Grid and controls
#2
Re: Data Grid and controls
Posted 09 January 2010 - 03:52 PM
I don't really understand what you are trying to do... Can you give some example. You can even post some picture, so we could better understand what controls need to be dynamically generated...
#3
Re: Data Grid and controls
Posted 09 January 2010 - 08:47 PM
FlashM, on 9 Jan, 2010 - 02:52 PM, said:
I don't really understand what you are trying to do... Can you give some example. You can even post some picture, so we could better understand what controls need to be dynamically generated...
Thanks for the reply... well ,An example with the snap shots are in the word doc
Attached File(s)
-
Datagrid.doc (121K)
Number of downloads: 51
This post has been edited by dpp: 09 January 2010 - 08:48 PM
#4
Re: Data Grid and controls
Posted 10 January 2010 - 03:07 AM
#5
Re: Data Grid and controls
Posted 10 January 2010 - 05:02 AM
As TravisP posted, you could customize your own data grid view cell that would hold the numericUpDown control.
Secondly you could use the DataRepeater control, which also might do the job. Take a look at these articles:
http://blogs.msdn.co...dows-forms.aspx
http://www.google.si...2f8d5161a7d1d76
Secondly you could use the DataRepeater control, which also might do the job. Take a look at these articles:
http://blogs.msdn.co...dows-forms.aspx
http://www.google.si...2f8d5161a7d1d76
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|