Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I neeed to show .doc file in a gridview then user click to save the record in database in c# Linq.
Posted

1 solution

it's lengthy process, nobody going to write the whole code...
i'm just going to tell you the steps..

1> upload file to the Database//[search google: Save file to database in asp.net]
2> bind grid from Database// and use http handler or a method to convert the database data to a file.[google: Bind grid with a file from database]

try these steps and find the solution basic solutions yourself, if somewhere you stuck then post here the specific problem error, it'll be better for everyone to help you..

these links may help you..
http://www.aspsnippets.com/Articles/Display-Files-saved-in-Database-Table-in-ASPNet-GridView-with-Download-button.aspx[^]
Uploading files to database from ASP.NET pages[^]
http://www.aspsnippets.com/Articles/Insert-Word-Document-Files-into-SQL-Server-Database-Table-using-C-and-VBNet.aspx[^]
 
Share this answer
 
Comments
Member 11265961 26-Nov-14 12:08pm    
Thanks a lot Aajmot Sk. This will helps me
/\jmot 26-Nov-14 12:53pm    
you are most welcome. :)

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