Insert data into database
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