Can I turn 1 long column into 3 shorter ones?

  • Thread starter Thread starter trvlDev
  • Start date Start date
T

trvlDev

I am using ASP 2.0 connecting to a SQL database. I retrieve one field
of data from one of the tables and return the results to the screen -
currently into a DataList. Well, the column is now too long, and I
would like to display it in two or three columns (side by side).

What would be the best way to accomplish this? Help!

Thanks
 
If you actually want to do this with databinding, you would need to split the
existing column data into new columns and add all your "revised" rows of data
to a new DatSource - say, a DataTable, and then bind to that.
Have you tried just setting the various Wrap properties and CSS on the
column so that it wraps to a specific width?
Peter
 
Set RepeatDirection property to "Horizontal" , RepeatColumns property
to 3 or whatever number of columns you need.
Latish
 
Set RepeatDirection property to "Horizontal" , RepeatColumns property
to 3 or whatever number of columns you need.
Latish

Perfect, Latish. I wasn't aware of those properties. It now does
exactly what I want it to do.

Thanks!
 
Back
Top