Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi ,

I have one Text file in C:\users\XYZ12345\Test.txt and inside the file a Value is there
Value=1. I want to replace the Value=1 to Value=(select id from table where value=12345)

the value will be fetching from db where value is last 5 digit of the folder.

Can You please tell me how to proceed.. ?
Posted
Comments
Mantu Singh 26-May-15 1:26am    
Use system.io directory info and some string work like substring on folder name work on length of folder name use texwriter finally

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