Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically creating Datagrids

Status
Not open for further replies.

ISPrincess

Programmer
Feb 22, 2002
318
US
I have the need to create multiple datagrids based on a table returned in a dataset.

Dataset.table

Group# Value1 Value2
1 1 x
1 2 y
1 3 z
2 4 x
2 5 y
2 6 z

In the above case, I would need to create 2 data grids, one for group 1 and one for group 2 and then fill them accordingly with the value1 and 2 data.

How / what is the best way to dynamically create datagrids at the UI level? (not sql), when there is no set value of how many grids will need to be created?




PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top