473,788 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple columns data control

Hi,

I need to display the content of an ArrayList on multiple columns, like

data1 data2 data3 data4
data5 data6 data7 data8
----
or

data1 data3 data5 data7
data2 data4 data6 data8
----
doesn't really matter.

There is out there a web control that let me do this and have control over
the number of rows and columns, ideally autoevaluate the available space and set the
number of columns ?

With a DataGrid I get only one column that using paging I can have it spread over
multiple pages but not spreading over the rows, if you understand what I
mean.

I looked over couple of books but I couldn't find a similar one.

Thank you,
Cezar
Nov 18 '05 #1
4 1739
If i understand you correct, you ideally want to flip the columns?
If so, follow this link:
http://www.networkip.net/tidbits/flip.htm

regards

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"Cezar" <ce*********@po lymtl.ca> wrote in message
news:pa******** *************** *****@polymtl.c a...
Hi,

I need to display the content of an ArrayList on multiple columns, like

data1 data2 data3 data4
data5 data6 data7 data8
----
or

data1 data3 data5 data7
data2 data4 data6 data8
----
doesn't really matter.

There is out there a web control that let me do this and have control over
the number of rows and columns, ideally autoevaluate the available space and set the number of columns ?

With a DataGrid I get only one column that using paging I can have it spread over multiple pages but not spreading over the rows, if you understand what I
mean.

I looked over couple of books but I couldn't find a similar one.

Thank you,
Cezar

Nov 18 '05 #2
Use Datalist Control And set RepeatColumns Property to number of times you want the colums to be repeated
-Sushila

"Cezar" <ce*********@po lymtl.ca> wrote in message news:pa******** *************** *****@polymtl.c a...
Hi,

I need to display the content of an ArrayList on multiple columns, like

data1 data2 data3 data4
data5 data6 data7 data8
----
or

data1 data3 data5 data7
data2 data4 data6 data8
----
doesn't really matter.

There is out there a web control that let me do this and have control over
the number of rows and columns, ideally autoevaluate the available space and set the
number of columns ?

With a DataGrid I get only one column that using paging I can have it spread over
multiple pages but not spreading over the rows, if you understand what I
mean.

I looked over couple of books but I couldn't find a similar one.

Thank you,
Cezar


Nov 18 '05 #3
On Sun, 23 Nov 2003 07:22:08 -0500, Sonali.NET[MVP] wrote:
Use Datalist Control And set RepeatColumns Property to number of times you want the colums to be repeated
-Sushila

thank you Sushila
Nov 18 '05 #4
On Sat, 22 Nov 2003 21:10:14 -0600, Alvin Bruney wrote:
If i understand you correct, you ideally want to flip the columns?
If so, follow this link:
http://www.networkip.net/tidbits/flip.htm

Interesting one. I'll keep this solution in mind.

I use a DataList for now.
Thank you
Cezar
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2647
by: Jane | last post by:
Hi, If anyone could help me with this, I greatly appreciate it. I would like to know how I can display data from a db in multiple columns rather than have it displayed in 1 column per recordset. Here is a twist...besides doing this, I would also like to have it paginate and be able to control how many records gets displayed per page in multiple columns. Thank y'all in advance!!!
11
4534
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my database,just help in getting me pointed in the right direction. I have a database with 8 tables, which from what I have read, cannot be linked on a single form, and be updatable. I have created a query which includes all 8 tables, and then...
1
5291
by: Craig Banks | last post by:
If a row of data in a dataset has a lot of columns the row displaying the data in a datagrid will run way off the screen. What I'd like to do is display a row of data over several datagrid rows so the user doesn't have to scroll horizontally. Essentially, I want to wrap a datagrid row (not text in individual columns) with as much control as possible. Make sense? While this seems simple enough on the surface, I can't figure out how to do...
5
3531
by: Lie | last post by:
Hi all, I have problem in getting selectedindex of multiple listbox selection in a datagrid. I have a listbox with multiple selection mode inside datagrid. In Edit mode, I need to get back all selected items of that listbox and display it. can anyone help? Thanks
8
10417
by: Jason L James | last post by:
Hi all, does anyone know if I can create a dataview from multiple datatables. My dataset is constructed from four separate tables and then the relationships are added that link the tables together. To make data entry easier I would like to combine selected columns from the four tables onto a single dataview that could be used as the datasource for a datagrid control. The distinct updates, insert ans delete
5
30047
by: Keith G | last post by:
I am using Visual Studio 2003. In the standard combobox control it would appear that only 1 column of data can be displayed in the list (as stipulated in the DisplayMember property). In VBA it was always possible to specify a column count and then set the width for each column (setting 0 width for columns not to be displayed). The Bound Column property was then specified to set the data to be retrieved from the control (the ValueMember...
2
3461
by: Sam | last post by:
Hi all I have a database table that has multiple column primary key and every thing looks fine when I load it in the datagrid web control. The problem is that the datagrid web control can only take one single field to be its DataKeyField while my data table has multiple(2) column primary. Is there a way to create a datagrid web control's DataKeyField which can take a multiple columns. Thank you
7
15663
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is there an equivalent property for the DataGridView? I have searched, but have not found one. I would like the user to be able to see all the columns of the table on one screen - thus eliminating the need to use the horizontal scroll bar to view...
2
10511
by: ray well | last post by:
i need to display 2 columns of data in a list box. how would i set this up IN CODE. say my table is tblNames, and i have 2 fields, FirstName, LastName, and want the data to show up in 2 columns, LastName, followed by FirstName normally i would say ListBox1.DataSource = DataSet1.Tables("tblNames")
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10364
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.