Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 mySQLadapter.Fill --> invalid cast exception

closed
nobody
None
5
2007-03-23
2004-06-15
Anonymous
No

The problem described in help forum still exists.

Whatever call you try, you get a invalid cast exception.

Any hints or solutions?
(The mentioned solution doesn't work...)

Kalle

Discussion

  • Logged In: NO

    i have the same problem.......

     
  • net-khronos
    net-khronos
    2006-07-05

    Logged In: YES
    user_id=1531072

    "La conversión especificada no es válida. System.Data
    at
    System.Data.Common.DbDataAdapter.FillFromCommand(Object
    data, Int32 startRecord, Int32 maxRecords, String srcTable,
    IDbCommand command, CommandBehavior behavior)
    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet,
    Int32 startRecord, Int32 maxRecords, String srcTable,
    IDbCommand command, CommandBehavior behavior)
    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
    at login.Model.DBRoles.fblnGetPaginasRol(String vstrRol)
    in C:\Inetpub\wwwroot\login\Modelo\DBRoles.vb:line 24"

    invalidcastexception when with a
    MySQLDriverCS.MySQLDriverCS.MySQLDataAdapter i tried fill a
    system.data.common.dataSet or datatable

    Is there any way to fill a DataSet with MySQLDriverCS with
    MySQLCommand???

     
    • status: open --> closed