Click here to Skip to main content
15,906,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to modify file saved in Database using GridView control with edit functionaly in ASP.Net
Posted
Comments
Zubair Alie 12-Feb-14 2:11am    
What file you have saved in database and how you saved it? I am afraid, you need to make your question correct with proper discription of what you are doing and what exactly you require to be done.
Alina091 12-Feb-14 6:43am    
I have saved the file details like file name, created_on, modified_on details in the database but the file is being saved in my local.Now I want to open the same file for editing it. How do I do it?Its not a single file.There are multiple powershell file which I am saving in my local through code!
Alina091 12-Feb-14 6:43am    
Its a powershell file
What have you tried and where is the issue?
Alina091 12-Feb-14 6:44am    
I have saved the file details like file name, created_on, modified_on details in the database but the file is being saved in my local.Now I want to open the same file for editing it. How do I do it?Its a powershell file

1 solution

Read the file using StreamReader Class and show its content in a TextArea or something.

Then have a Update Button and on click of that, update the file.
 
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