I am using an insert statement to add a record to the database,but I have a problem with System.DateTime.Now it will not allow me to use this. I get an error saying sytnax in Insert Statement. Is there any special characters you have to use . I try the suff other people posted but that does not fix the problem.

C# Insert Statment
ateens108
http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=45
-Tom Meschter
Software Dev, Visual C# IDE
JasonPolycom
strSql = "insert into table1(myDate) values (#"+DateTime.Now.toString()+"#);"
vb help