combine 2 rows into 1

D

Dave

Is it possible to create 2 rows of output from SQL into 1 row for display
purposes?

My output looks like this

row1 1 2 3
row2 4 5 6


is it possible to combine them into 1 row so it looks like this

row1 1 2 3 row2 4 5
6
 
G

gnewsgroup

Is it possible to create 2 rows of output from SQL into 1 row for display
purposes?

My output looks like this

row1 1 2 3
row2 4 5 6

is it possible to combine them into 1 row so it looks like this

row1 1 2 3 row2 4 5
6

But, you should handle the display layout in the presentation layer.
 
D

Dave

I'm new to this .NET thing so I'm not sure what controls would work for
this.
do you have an example of something that could show this format?
 
D

Dave

I got it working actually with using a gridview.


Eliyahu Goldin said:
Consider using a DataList control that is capable of rendering several
items in a row.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


Dave said:
Is it possible to create 2 rows of output from SQL into 1 row for display
purposes?

My output looks like this

row1 1 2 3
row2 4 5 6


is it possible to combine them into 1 row so it looks like this

row1 1 2 3 row2 4 5
6
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top