vb.net grid - Multiple Rows per record

G

Guest

I would like to be able to display multiple fields per record over two rows using the vb.net datagrid as follows

Name | Address | Phone
| Comments |
(ie comments on the second row but within the same record.)

Is this posible?

How can you do this? Any pointers or suggestions would be greatly apprieciated.

Thanks in Advance,
Phil.
 
A

Attila

Here is something to try. Access the event thrown when .net is binding data
, then add some html to the item property (where the item is "phone"), like
</TD></TR><TR>. This should get you to the next rowMaybe there is a better
way to do it, but this is the best path.

Info on the itemdatabound event:
http://msdn.microsoft.com/library/d...ebcontrolsdatagridclassitemdataboundtopic.asp
hth

attila

Phil said:
I would like to be able to display multiple fields per record over two
rows using the vb.net datagrid as follows
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top