Menu

#73 design-time problems wit dataadapters

open
nobody
None
5
2003-11-26
2003-11-26
marco p
No

I have some problems in the design time support of
ByteFX.
first: data preview.
I've dropped a MySqlConnection, a MySqlCommand. Set
the parameters for the connection, assigned the
connection to the command, wrote a simple select *
from authors command text, tested the command on the
querybuilder, and got the results.

Then I dropped a MySqlDataAdapter, assigned the
command to it.

I added a SqlDataAdapter (the only way to show the
DataPreview menu), and called the datapreview.
Selcted the MySqlDataAdapter1, pushed Fill Dataset
button, I got the error:

---------------------------
Microsoft Development Environment
---------------------------
mySqlDataAdapter1.The data adapter could not return
the data from the data source.

Object reference not set to an instance of an object.
---------------------------
OK ?
---------------------------

Isn't that funny?

An error happens even if I select the Generate Dataset
menu item:

---------------------------
Microsoft Development Environment
---------------------------
Retrieving the schema for mySqlDataAdapter1 failed.
Object reference not set to an instance of an object.
---------------------------
OK ?
---------------------------

any idea?

anyway thanks for MySqlnet.

Discussion


Log in to post a comment.