Hi
MySqlCommand myCommand = new MySqlCommand("INSERT INTO hs_hr_attendance (10,_dt2,_dt.ToString(),NULL,'',NULL,0,1)",con);it is giving error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10,_dt2,_dt.ToString(),NULL,'',NULL,0,1)'
Thanks
Loading
Sam HobbsPosted Sep 5, 2011, 4:17 PM
Jagjit SainiPosted Sep 5, 2011, 7:57 AM
Solved. I was using wrong syntax.
Thanks
Posted Sep 5, 2011, 7:48 AM