如何在网格视图中查看doc文件并将其保存在c#linq的数据库中 [英] How to view doc file in a grid view and save in database in c# linq

查看:95
本文介绍了如何在网格视图中查看doc文件并将其保存在c#linq的数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在gridview中显示.doc文件,然后用户点击将记录保存在c#Linq的数据库中。

解决方案

这是一个漫长的过程,没有人会写整个代码...

我只是想告诉你步骤..



1>将文件上传到数据库// [搜索谷歌:将文件保存到asp.net中的数据库]

2>从数据库绑定网格//并使用http处理程序或方法将数据库数据转换为文件。[google:使用数据库中的文件绑定网格]



尝试这些步骤并自己找到解决方案的基本解决方案,如果你遇到的地方然后在这里发布具体的问题错误,那么每个人都会帮助你更好..



这些链接可以帮助你..

http://www.aspsnippets.com/Articles/Display-Files-saved-in-Database-Table-in-ASPNet-GridView-with-Download-button.aspx [ ^ ]

从ASP.NET页面上传文件到数据库 [ ^ ]

http://www.aspsnippets.com/Articles/Insert-Word-Document-Files-into-SQL-Server-Database-Table-using-C-and-VBNet.aspx [ ^ ]

I neeed to show .doc file in a gridview then user click to save the record in database in c# Linq.

解决方案

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[^]


这篇关于如何在网格视图中查看doc文件并将其保存在c#linq的数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆