#14 Displays System.byte in textfields

closed
nobody
None
5
2007-03-23
2004-02-18
Mister Skydiver
No

There's a problem in displaying mysql-textfields. It will
shown as "System.byte". I use the MySqlDataAdapter to
fill a DataSet in order to display it in a datagrid. All other
fields will displayed correctly. I guess it is a converting-
problem or something like that.

For more info check out the discussion in the forum! THX

Discussion

  • kmhui
    kmhui
    2004-08-05

    Logged In: YES
    user_id=975188

    encountered the same problem. so far, only varchar column
    type in MySQL table works with .NET. hope you guys can fix
    this bug soon. much needed. my snipper codes in C++.NET below

    conn->Open();
    cmd = new MySQLDriverCS::MySQLCommand(sqlStatement, conn);
    adpt = new MySQLDriverCS::MySQLDataAdapter(cmd);
    ds = new System::Data::DataSet();
    ds->Tables->Add(new System::Data::DataTable(S"search"));
    adpt->Fill(ds, S"search"); // <----there is nothing i can
    do here
    conn->Close();

     
  • Logged In: NO

    Hi,

    I'd like to know if this issue has been fix; We're using release
    3.0.8 instead of newer because of this behavior.

    Thanks !

     
    • status: open --> closed