473,394 Members | 1,752 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,394 software developers and data experts.

create columns automatically -- want to choose alignment!

AW
I am creating my columns automatically at run time, but I also want to align
the text columns to the left and the number columns to the right. Is there
anyway to do this?? I can't see how to specify this. Thanks.
Jul 21 '05 #1
3 1244
AW,
I am creating my columns automatically at run time, but I also want to
align
the text columns to the left and the number columns to the right. Is
there
anyway to do this?? I can't see how to specify this. Thanks.


Do you know in how many classes columns exist in Net.

Maybe, if you want an answer, is it interesting to tell us columns in what?.

:-)

Cor
Jul 21 '05 #2
AW
Sorry Cor, I am kind of a beginner at dot net. I create a datagrid and a
dataset. I fill a data adapter with the dataset and I bind the datagrid. I
create the columns of my datagrid automatically at run time and I have to do
it that way because the page is structured to handle any query that I pass in
and display it. I was just wondering if there was a way to check the column
type so that I could align the column appropriately to the right or left. I
hope that answers your class question, I don't know the class I'm using!
Thanks for your help.

"Cor Ligthert" wrote:
AW,
I am creating my columns automatically at run time, but I also want to
align
the text columns to the left and the number columns to the right. Is
there
anyway to do this?? I can't see how to specify this. Thanks.


Do you know in how many classes columns exist in Net.

Maybe, if you want an answer, is it interesting to tell us columns in what?.

:-)

Cor

Jul 21 '05 #3
AW,

This is in my opinion the one you probably need, I hope that the links give
you enough information.

http://msdn.microsoft.com/library/de...atypetopic.asp

I hope this helps,

Cor
Jul 21 '05 #4

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

Similar topics

3
by: AW | last post by:
I am creating my columns automatically at run time, but I also want to align the text columns to the left and the number columns to the right. Is there anyway to do this?? I can't see how to...
4
by: Abdhul Saleem | last post by:
Hi, I am recieving error ActiveX component can't create object in the following line in the asp page. set ExcelApp = CreateObject("Excel.Application") Previously this code was working fine....
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
1
by: TG | last post by:
Hi! I have an application in which I have some checkboxes and depending which ones are checked those columns will show in the datagridview from sql server or no. After that I have 2 buttons:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.