Database on VB.Net

  • Thread starter Thread starter Dongo!
  • Start date Start date
D

Dongo!

Hi Group,

I`ve just got VB.NET and moving from VB6 finding things a little hard, I
hope someone could help?

On VB6 if I wanted to display data from a Datbase I would add the MS Data
Bound Grid Control to the project whats the equivilent on VB.Net?

I`ve tryed using the DataForm wizard but it keeps coming up saying - 'Value
Cannot be NULL, Paramited Name: Type'

Any Web Links or Help would be much appriciated

Regards
Si
 
Hi Si,

VB.NET has a DataGrid control, but it's quite different from the MS Data
Bound Grid. One of the ways to see how the DataGrid can be coded is to run
the DataForm Wizard. Unfortunately, that's not working for you. If I
remember correctly, the Dataform Wizard doesn't handle DBNulls, and that
might be the error you're seeing. You may want to try runing the wizard and
limiting the columns you select to see if one column is causing the
trouble.

Craig, VB.NET Team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top