I am importing excel sheet at runtime in my windows forms, adding some data into it through form. When I am inserting that data back it's giving:
syntax error in insert into statement
This is the query I'm using:
string qry = string.Format("Insert into [Sheet1$] (username,password) values('"+uname+"','"+pwd+"')");