4 Replies - 786 Views - Last Post: 10 January 2010 - 05:02 AM Rate Topic: -----

#1 dpp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 31-December 09

Data Grid and controls

Posted 09 January 2010 - 11:37 AM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Data Grid and controls

#2 FlashM  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 382
  • View blog
  • Posts: 1,195
  • Joined: 03-December 09

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...
Was This Post Helpful? 0
  • +
  • -

#3 dpp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 31-December 09

Re: Data Grid and controls

Posted 09 January 2010 - 08:47 PM

View PostFlashM, 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)


This post has been edited by dpp: 09 January 2010 - 08:48 PM

Was This Post Helpful? 0
  • +
  • -

#4 TravisP  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 35
  • Joined: 06-January 10

Re: Data Grid and controls

Posted 10 January 2010 - 03:07 AM

I assume you've already read this article?

http://msdn.microsof...881(VS.80).aspx
Was This Post Helpful? 0
  • +
  • -

#5 FlashM  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 382
  • View blog
  • Posts: 1,195
  • Joined: 03-December 09

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
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1