Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,
I want to read the column values from Excel, and after that reading value I want to change on that value and replace that value over there or in next column.

Right now In my Excel There is column as Name in which values are

A.docx
B.docx
C.docx

I want to read that values and Replace as

A
B
C

In that column or in next column.

I need a Console Application for that In C#.
Hope So Give me any idea..

Thanks a lot in Advance....:)

Samadhan Kshirsagar.
Posted
Comments
CHill60 28-May-14 3:26am    
What have you tried?
samadhan_kshirsagar 28-May-14 3:42am    
Right now I am trying to read column values..

 
Share this answer
 
Use oledb with connection string
connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & fileLocation & ";Extended Properties=""Excel 12.0;HDR=Yes;IMEX=2"""
 
Share this answer
 

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