473,320 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1169
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Eric Brunel | last post by:
Hi all, I was creating a Tkinter widget in the style of the reversed tabs below Excel worksheets and I stepped in a serious problem: the code I made makes python crash with a seg fault, bus...
14
by: Sanjay Minni | last post by:
What is the datatype to be used for Primary Key columns for most optimised access given that - There will be a single column primary key only - The values will only be integers (but as...
7
by: Galina | last post by:
Hello I am going to copy a data from MS Access table into Oracle table. One of fields is memo type and data in this field range from 1 character to 551 long string. Do I need to create a field...
0
by: jy2003 | last post by:
The query below is very long, and it takes about 5 seconds to get the result. Of course I am not happy with the 5 seconds, and I am wondering if I can get a better speed if I can break it into...
2
by: Ty | last post by:
Here is the situation, please let me know if you have any tips: ..TXT files in a share at \\foo SPROCS run daily parses of many things, including data on that share. The other day, we...
3
by: Rolf Schuster | last post by:
On Windows XP SP2, I am trying to create and enable a table for use by an AIV extender. In the extender command line processor (db2ext), I do db2ext => enable database for db2image without a...
2
by: junky_fellow | last post by:
Hi, Consider following piece of code: int i = 0x12345678; char c; c = i; printf("0x%x\n",c); What value will be printed ?
28
by: silvia.fama | last post by:
Hi! I'm using c language. I need to copy a long type value into a char string using a memcpy function: memcpy(string, (long *) value, len) this value will be then insert into a database. On...
22
by: amygdala | last post by:
Hi, I'm trying to grasp OOP to build an interface using class objects that lets me access database tables easily. You have probably seen this before, or maybe even built it yourself at some...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.