MySQL Forums
Forum List  »  Quality Assurance

About MySqlDbType.Datetime
Posted by: top5 a
Date: April 07, 2008 09:24PM

edit by vs2005 an vs2008
my codes:

With MyCmd.Parameters
.Add("?user", MySqlDbType.String, 10).Value = strUser
.Add("?log", MySqlDbType.VarChar, 50).Value = strlog
.Add("?Result", MySqlDbType.Int16, 1).Value = intResult
.Add("?ip", MySqlDbType.VarChar, 15).Value = strIP
.Add("?time", MySqlDbType.Datetime, 20).Value = DateTime.Now
End With

error:
MySqlDbType.Datetime obsolete ,please use DateTime.

how can i do it?

Options: ReplyQuote


Subject
Views
Written By
Posted
About MySqlDbType.Datetime
4126
April 07, 2008 09:24PM
2208
April 10, 2008 06:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.