gridView with x Columns and 2Rows / record

T

Timo

Hi there,

I need to create a datagrid which holds for one record with many columns two
rows. (How everyone know the standard is one record one row).
I can do this if I put within a datagrid a custom table. But I do not like
this because I need to sort each column independend.

It should looks like

ProductID, ProductTitle
ProductDescription
ProductID, ProductTitle
ProductDescription
....

Is there any way to do that?

Regards
Timo
 
T

Teemu Keiski

Using TemplateColumn in DataGrid, and TemplateField in GridView? With them
you can set the layout as you like (put table into the template). Another
one is Repeater, when you have even more control over the markup.
 

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,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top