Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
24
Reply
The conversion of a varchar data type to a datetime data typ
Manj N
Jul 22 2013 6:53 AM
2k
Reply
i am getting " The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
The statement has been terminated."
public void Insert(String Query)
{
MyCommand.CommandType = CommandType.Text;
MyCommand.CommandText = Query;
MyConnection.Open();
MyCommand.Connection = MyConnection;
MyCommand.ExecuteNonQuery();
MyConnection.Close();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
24
)
Next Recommended Forum
xml
how to refresh form