Question Question about Datagridview and a generated table

roguecop

New member
Joined
Aug 22, 2009
Messages
1
Programming Experience
Beginner
Hello, I'm new here and this is my first post :eek:

I have a situation where I would like a VB.net form to create a table in an access database using SQL statements which I think I can do. However my real question is, is it possible then to make a datagridview object, on the same form, show the data from this newly generated table without reloading the program etc. ?

I am a beginner to VB.net so you might have to explain things further :)

Apologies if I have posted this in the wrong place.

Thanks for your help
 
Yes. Add the datagridview to your form setting the visibility to false. After your table is created and you are ready to show your datagridview, then set the visibility to true.

PseudoCode
VB.NET:
Form loads
Hide dgvNewTable
Process Create new table
Populate dgvNewTable 
UnHide dgvNewTable
 
Last edited:
Back
Top