Solved

VB.NET & Tables

Posted on 2006-07-10
5
256 Views
Last Modified: 2010-04-23
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
Comment
Question by:TommyTwoPints
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
jjardine earned 500 total points
ID: 17073185
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
 
LVL 3

Author Comment

by:TommyTwoPints
ID: 17073286
I have 2002; I've never looked at the datagrid. Is this also possible in 2002?
0
 
LVL 3

Author Comment

by:TommyTwoPints
ID: 17073408
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
 
LVL 14

Expert Comment

by:jjardine
ID: 17075007
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
 
LVL 3

Author Comment

by:TommyTwoPints
ID: 17075027
excellent, thanks.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question