Sharat Jadhav

Sharat Jadhav

  • NA
  • 8
  • 2.7k

Error while updating data

Oct 15 2015 3:09 AM
HI Everyone!!i have a problem in updating data...plz help me....
 
This is my SQl Query and i m using sql server R2 and  Visual Studio 2012(MVC 4)
 **update tbl_Showroom set (Showroom_Name,Contact_No,Email_Id,Contact_Person) VALUES ('{1}','{2}','{3}','{4}') where Showroom_Code = " + "'{0}'";
This is error i m getting 
 **Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

Answers (3)