Errors encountered after generating a dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello:

I am working with VB.Net and Oracle 10g database on a Windows 20043 server.

I added a OleDBConnection to a form, configured the connection strings. And,
I added a OleDBDataAdapter and configured that o point to a single table with
the statement, "Select * from Customer". I Then created a dataset and
accepted the suggested dataset name dataset2.

I then dropped a Wingrid on the form and when I looked at the code, the
following two lines have been identified as wrong:

Me.DataSet21 = New test.DataSet2
and
Protected WithEvents DataSet21 As test.DataSet2

I do see an xsd file, DataSet2.xsd in my project.

What am I doing wrong?

Thanks for your help.

Venki
 
Venki,

I answered this in the VB language newsgroup.

This AdoNet newsgroup is a better newsgroup for this question. However
please don't multipost. If you newsreader supports crossposting, than please
use that.

Than it would have at least saved me to write this answer. (Crossposting is
sending messages to more relevant newsgroups in one time).

I hope this gives helps,

Cor
 
Cor:

I am sorry about the cross-posting. I thought it may be the best way to get
a fast reply back.

Wont' do it again.

Venki
 
Venki,
I am sorry about the cross-posting. I thought it may be the best way to
get
a fast reply back.
You did multiposting,

If it was cross-posting than my answer in the other newsgroup would have
been seen in this newsgroup as well. Therefore cross-posting is very
effective, while multiposting is very ineffective.

:-)

Cor
 
Back
Top