ByteFX.Data.MySqlClient DataAdapter Question

  • Thread starter Thread starter William Ryan
  • Start date Start date
W

William Ryan

I'm trying to build a DataSet with a MySql application using the above
driver, but here's the problem....

DataAdapter.Fill with this provider only lets you fill a DataSet and you
can't specify a table. There's no overloaded constructor to take a
DataTable, and since you can't specify a table name...you basically get a
DataSet with one Table (which makes it effectively a DataTable) As such,
you can't define DataRelations or much else. This alone makes it kind of
limiting..

Or am I missing something?
 
I am not sure what version you are using, but .Fill( ds, tablename )
works fine. This functionality is inherited from system classes so it
really has nothing to do with the provider.

I use table specific fills using this provider (mine) in a site I am
about to go live with.

Reggie
 
I'll go grab the latest version, but I can only use a Full dataset with no
table references or it won't compile.

Let me go see if I can get it working with a new version.

thanks again,

Bill
 
Back
Top