Hai everybody,
Finally i identify my error.I was wrongly declare the Insert querry.
Wrong Insert querry:
objCmd.CommandT ext = "INSERT INTO Sheet1$(Dateoft heMonth, MonthName, customerid, jobordernumber, recruiterId, recruitername, Status, prescreeningid, customername, jobordertitle, mandatoryskills , worklocation, source, candidatename, totalexperience years, totalexperience months, currentorganisa tion, currentctc, expectedctc,...
User Profile
Collapse
-
vasanth chandrasekaran started a topic How to insert the Dataset value into Excel File(Exiting file) using OLEDB in C#in C SharpHow to insert the Dataset value into Excel File(Exiting file) using OLEDB in C#
Hai All,
I try to insert the Dataset value in Exiting excel file
by using OLEDB provider.But i face error messagge in
objCmd.ExecuteN onQuery();
The error is :Syntax error in INSERT INTO statement.
Framework: 3.5
GUI: Visual studio 2008
Please Help me.Its most important one.
This is my code:
try
{
DataSet... -
Erro: Syntax error in INSERT INTO statement
The error is :Syntax error in INSERT INTO statement.
This is my code:
...Code:try { DataSet ds1; OleDbConnection ConnSql; OleDbConnection ConnExcel; OleDbDataAdapter da1; OleDbDataAdapter da2; string ConnStringSql = "Provider=sqloledb;Data Source = cst;Initial Catalog = Testido;User ID=sa;Pwd=connect#963;";
No activity results to display
Show More
Leave a comment: