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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

best method

Status
Not open for further replies.

gagz

Programmer
Nov 21, 2002
333
US
Hi-

hopefully this is an easy one. I have a information page, that has different activities. each activity has multiple categories. in these categories is just a long list of things. i want the list to be in mulitple columns in a table. My query returns the list, now i need a good way to create the table. datagrid would be sweet if i could make one column of data show as multiple. any other control other than trying to make a dynamic table work that you can think of?

thanks.
 
well... you could still use the datagrid; use a template column for the column thats going to have a list of values. Use a listbox or something for that template column.
 
i don't under stand how i would do that... i'll have a list like:
Code:
val1
val2 
val3
val4

and i want it to look like:
Code:
val1  val2
val3  val4
 
Do you know how many columns you want to split the one column into? If you do then I have just the thing. It's rather long and I am rather lazy so tell me if this what you are looking for and I'll post the code I used to accomplish this.

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
actually... got it doing what i needed with a datalist and repeat columns, didn't even know that attribute was there.

Thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top