{“Incorrect syntax near 'C'.”}…Error Debug

Givn

New Member
\[code\]SqlConnection conn = new SqlConnection("Server=ILLUMINATI;" + "Database=DB;Integrated Security= true");SqlCommand comm = new SqlCommand( "Insert into FileUpload ('FilePath','TypeId','UploadedBy','UploadedDate') values (" + savePath + "," + typeid + "," + NAME + "," + DateTime.Now+ ")", conn);conn.Open();comm.ExecuteNonQuery();conn.Close();\[/code\]It's giving an error saying:\[quote\] {"Incorrect syntax near 'C'."}\[/quote\]Can anybody tell me the error please.
 
Top