Can I turn 1 long column into 3 shorter ones?

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
 
G

Guest

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
 
L

Latish Sehgal

Set RepeatDirection property to "Horizontal" , RepeatColumns property
to 3 or whatever number of columns you need.
Latish
 
T

trvlDev

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top