Solved

VB.NET & Tables

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with error message for ReportViewer in VS2015 4 44
Round a string to two digits 12 32
Recommendation vb6 to vb.net or others 14 111
Vb.Net Date Formatting Assistance 4 35
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

15 Experts available now in Live!

Get 1:1 Help Now