Datatable display help help

  • Thread starter Thread starter Bonzol
  • Start date Start date
B

Bonzol

hey there,, using 2005,, making a Website

Normally when I code I only have to display certain sections of a
datatable, like an item or something. So I just store it in a label.

So now my problem is. I need to display the entire datatable which
could contain the amount of records from 0 - 100.

What are people suggestions with displaying all the contents of a
datatable. Do I use a table,, a listbox? im not sure what the best
methods are.

Could someone also give me the code to fill it,

for examples sake

Dim dt as Datatable

Thanx in advance
 
Bonzol,

First off you really need to stop double posting your questions. It
makes it difficult to follow your progress and to build on other
peoples suggestions. But now onto filling you're DataGridView. The
easiest way is to just do this:

DataGridView1.DataSource = dt

Note, the object browser (shortcut is F2) is a great way to browse all
the methods, properties and events that an object contains. Almost all
contain a summary that says what they do.

Thanks,

Seth Rowe
 
Back
Top