468,780 Members | 2,278 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,780 developers. It's quick & easy.

Can I turn 1 long column into 3 shorter ones?

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

Apr 6 '07 #1
3 1075
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

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"trvlDev" wrote:
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

Apr 6 '07 #2
Set RepeatDirection property to "Horizontal" , RepeatColumns property
to 3 or whatever number of columns you need.
Latish

Apr 6 '07 #3
On Apr 6, 12:35 pm, "Latish Sehgal" <latish.seh...@gmail.comwrote:
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!

Apr 6 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Eric Brunel | last post: by
14 posts views Thread by Sanjay Minni | last post: by
3 posts views Thread by Rolf Schuster | last post: by
2 posts views Thread by junky_fellow | last post: by
28 posts views Thread by silvia.fama | last post: by
22 posts views Thread by amygdala | last post: by
1 post views Thread by CARIGAR | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.