please help me i donot know how to solv this problem
Server Error in '/SaveImagesinFolderDisplayInGridview' Application.
Incorrect syntax near '14'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near '14'.
Line 24: con.Open();
Line 25: SqlCommand cmd = new SqlCommand("delete from ImagesPath where ID'" + t1.Text + "'", con);
Line 26: cmd.ExecuteNonQuery();
Line 27: //GridView1();
Line 28: con.Close();
Source File: e:\visual work\SaveImagesinFolderDisplayInGridview\SaveImagesinFolderDisplayInGridview\Default2.aspx.cs Line: 26
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)