#30 String was not recognized as a valid DateTime.

open
nobody
None
5
2006-04-01
2006-04-01
Anonymous
No

cnn = new MySQLConnection(new MySQLConnectionString
("localhost", "gims", "root", "").AsString);
MySQLDataAdapter hst_bilgi = new MySQLDataAdapter
("select * from hst_bilgi", cnn);
MySQLDataAdapter hst_muayne = new
MySQLDataAdapter("select * from hst_muayne",cnn);

try
{
ds_kayit.Tables.Add("hst_bilgi");
ds_kayit.Tables.Add("hst_muayne");

hst_bilgi.Fill(ds_kayit.Tables
["hst_bilgi"]);
hst_muayne.Fill(ds_kayit.Tables
["hst_muayne"]);//this line is eror.

cnn.Open();

}

problem is "String was not recognized as a valid
DateTime."

Discussion

  • Logged In: NO

    I have encountered the same error by submitting a simple select commandm, which got executed correctly within the mysql db interface.