vb.net grid - Multiple Rows per record

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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
 
Back
Top