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

format table in datagrid ? (0/1)

hi all
first sorry for my bad english

I've a trouble.
I've a query like
SELECT au_id, title_id, au_ord, royaltyper
FROM titleauthor
WHERE (title_id IN ('TC7777', 'PS2091', 'BU1111', 'PS1372'))
ORDER BY title_id
)
au_id title_id au_ord royaltyper
267-41-2394 BU1111 2 40
724-80-9391 BU1111 1 60
724-80-9391 PS1372 2 25
756-30-7391 PS1372 1 75
899-46-2035 PS2091 2 50
998-72-3567 PS2091 1 50
267-41-2394 TC7777 2 30
472-27-2349 TC7777 3 30
672-71-3249 TC7777 1 40
I would have to format the table in a datagrid (I do not know if this
is the control more adapted for my scope) grouping for fields (in this
case title_id) so that me what of the type comes one

au_id au_ord royaltyper
BU1111
267-41-2394 2 40
724-80-9391 1 60
PS1372
724-80-9391 2 25
756-30-7391 1 75
PS2091
899-46-2035 2 50
998-72-3567 1 50
TC7777
267-41-2394 2 30
472-27-2349 3 30
672-71-3249 1 40

thanks
sam--

Nov 18 '05 #1
0 838

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

Similar topics

3
by: Peter | last post by:
I have a datagrid on WinForm and I am trying to format the Grid. I am using the following code, the code runs fine, but nothing happens after it runs, the datagrid does not change (with data in the...
0
by: Albert Valls Rovira | last post by:
Hello all... I have a DataSet with two DataTables within (for example...) Table 1: Name Surnames CountryID Table 2: id CountryName I have created a relation between both tables (Table...
1
by: Mike | last post by:
I have a date in my table format like YYYY/DD/MM 2004/7/7 but when I pull that value out of the table in .net and populate my grid it looks like: 7/7/2004 12:00:00 AM I don't want that, i...
5
by: IGotYourDotNet | last post by:
I'm pulling data out of an oracle db and populating a datagrid such as this cars doors Cylinders chevy 4 6 ford 2 8 how can i make it such as cars ...
6
by: Hutty | last post by:
I've looked around and have yet to find anything that would answer my question regarding formating a column in a datagrid. My grid looks like this as far as data" AMHQCON|51300.01|-3147 The...
3
by: PawelR | last post by:
Hello group, In my webapps I have datagrid binding with table from dataset. In table I have columns with datetime format. In dataGrid date is display in format "yyyy-mm-dd hh-mm-ss" but I want...
0
by: Buho | last post by:
Hi everybody, I have a question/problem about the .net datagrid, the deal is use it loading detail data of a voucher, so i have 2 instances: first is when i load a document header and lots of...
2
by: Peter Afonin | last post by:
Hello, I have a datagrid with 17 columns - too many for one page. Is there a way to format the datagrid so the columns are located in two rows instead of one, or something like this? I would...
3
by: natrajsr | last post by:
Hi, I want to load the data of a excel sheet or in the exact excel sheet format into a Rich TextBox control. I have already worked with loading WORD into a Rich TextBox. It is working fine.;...
9
by: seep | last post by:
hi i m finding following error on the code that i wants to use to get all record from table via store procedure with paging. the error is : Input string was not in a correct...
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
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: 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
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...

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.