pre_wreck
October 26th, 2006, 01:40 AM
Hi Guru's,
I have a problem, please I need your help.
I have here a piece of code, that returns a syntax error.
string sSQL;
sSQL = "INSERT INTO tblLoginDetails(Userid, Activity, DateTime)";
sSQL += "VALUES";
sSQL += "('" + sUserID + "', '" + sActivities + "', '" + System.DateTime.Now + "')";
Table properties:
Userid = text or string
Activity = text or string
DateTime = Date/Time = General Date Format
Thanks in advance and more power.
I have a problem, please I need your help.
I have here a piece of code, that returns a syntax error.
string sSQL;
sSQL = "INSERT INTO tblLoginDetails(Userid, Activity, DateTime)";
sSQL += "VALUES";
sSQL += "('" + sUserID + "', '" + sActivities + "', '" + System.DateTime.Now + "')";
Table properties:
Userid = text or string
Activity = text or string
DateTime = Date/Time = General Date Format
Thanks in advance and more power.