Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have create a Excel Workbook version is 97-2003 using c# code.

Now i have also write the code for inserting the record into Excel Sheet using c# code and i have also update that record, all this functionality performed successfully.
but when i try to delete the record it will gives error that
C#
"Deleting data in a linked table is not supported by this ISAM"


I can use a oledb connection to perform insert, update, delete.

how can solve this error to perform deletion operation on excel.

or

one more thing i want to get the cell range where the selected values is located it will be using c# code...
like if i want to get the cell range where the value of id is 8 then it will show like that 'A8'

please help me..
Posted
Updated 23-Sep-11 1:49am
v2
Comments
grimmuko 19-Oct-11 19:53pm    
do you use adodb? so look at http://support.microsoft.com/kb/257819
if you use adodb so my question is: is com/active-x possible? (only client site!)
or on server-site aspose works good and costs good money
Subramanyam Shankar 16-Mar-15 13:57pm    
Have you tried the excel interop dlls?
Tejas Vaishnav 17-Mar-15 2:01am    
I think i have asked that question in 2011, and now it's 2015. but any way thanks for showing your interest to answer unsolved question.

And for the solution of the above question i used oldedb to perform insert update and delete, i have asked that question when i was fresher, and that error was detected when i trying to use interop object.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900