24
Answers

The conversion of a varchar data type to a datetime data typ

Manj N

Manj N

11y
2k
1
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();
    }
Answers (24)
Next Recommended Forum