Solved

VB.NET & Tables

Posted on 2006-07-10
5
246 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now