[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

VB.NET & Tables

Hi Experts,

What is the best way to show a table on a form. Is there a control that allows formatting (color, borders etc..)

Cheers,

Tom
0
TommyTwoPints
Asked:
TommyTwoPints
  • 3
  • 2
1 Solution
 
jjardineCommented:
are you just showing a table of data   like a datatable..   That would probably best be done with the datagridview in 2005 or datagrid in 2003.   With a little work you can add formatting to them on the cellpaint event or databind events I believe.
0
 
TommyTwoPintsAuthor Commented:
I have 2002; I've never looked at the datagrid. Is this also possible in 2002?
0
 
TommyTwoPintsAuthor Commented:
I've been looking at the datagrid control. I cant seem to add data to it without using a data source or a data binding.
I would like to add data in a different fashion, much like a listview.
0
 
jjardineCommented:
Yes the datagrid is available in 2002.     you can add data to the grid programmatically as well I believe.  I find it easier to build a datatable and bind it but I think you can just add rows.
0
 
TommyTwoPintsAuthor Commented:
excellent, thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now