i tried that but ... my code doesn't have the "@id" ... i looked for the syntax for the parameters.add() butdid not find anything ...
SqlConnection connection = new SqlConnection();
connection.ConnectionString = "Data Source = moi-pc/
SQLEXPRESS; Initial Catalog = Project; User ID = sa; Password =
madurai";
connection.Open();
SqlCommand cmd = new SqlCommand(query1, connection);
>>error>> cmd.Parameters.Add(new SqlParameter(?,query1));
