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

Horizontal Align of Columns in DataGrid

hi,

suppose, we are displaying data in DataGrid assume in two Columns "EmpID", "EmpName".

By Defaulty it will be Display in Below Format.

EmpID EmpName

1 anil
2 gopi
3 aaaa

Now, i need to Change the Display Format to Below Format like

EmpID 1 2 3

EmpName anil gopi aaaa

How can Achieve this Align in DataGrid.
Mar 23 '07 #1
1 1428
kenobewan
4,871 Expert 4TB
Here is an article that may help:
CodeSnip: Pivot Tables with ADO.NET and Display in a DataGrid Paged Horizontally
Mar 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Kenny | last post by:
I try to align the data in my datagrid to the right. I use this piece of VB.Net code. "Salestable" is one of the tables in the dataset which i want to show in my datagrid. Showing this data in...
2
by: Boaz Ben-Porat | last post by:
Hi all Is there a way to simulate a click on a scrollbar (horizontal) of a FataGrid ? I need to programmatically scroll the grid to the right/left upon some condition, when the total width of...
3
by: sumit | last post by:
Hi, I made a data grid vertically as well as horizontal scrollable as number of columns are very large!! But when i scroll horizontally then header is not visible as it also gets scrolled...
3
by: ad | last post by:
The horizontal position of a column in a DataGrid always is left. Can we change it to center of right?
2
by: Grant Smith | last post by:
I am currently trying to expand upon the default datagrid control using VB.NET. I have noticed one quirk about it that I cna't seem to get around. If I have a datagrid that doesn't display all of...
2
by: kieran | last post by:
Hi, I have the following datagrid with manually entered rows. I want to align the values of the second column only - 'more tax' - to the center, but i can not seem to do this. The first column...
2
by: Matt | last post by:
I can not get the horizontal gridlines to show up on a Gridview. I have changed the selection to both and horizontal with no sign of them. Also, when I set the Gridlines property to Vertical or...
0
by: Grant_S | last post by:
Can anyone help with a code snippet to right align a single column in the standard Visual studio 2003 datagrid? I need to do this alignment manipulation in code and therefore not able to set...
3
by: remya1000 | last post by:
I’m using Vb.net application program. I created a datagrid having text field and checkbox fields. Everything is displaying correctly. I have 9 Columns and each columns are equally separated. In...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.