C#将word文件存入数据库与读取

上传者: yuan1977 | 上传时间: 2009-12-18 00:00:00 | 文件大小: 1.21MB | 文件类型: rar
把word文件转为二进制文件流存入数据库,并且实现读取的小案例

文件下载

资源详情

[{"title":"( 59 个子文件 1.21MB ) C#将word文件存入数据库与读取","children":[{"title":"test","children":[{"title":"testDAL","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"testModels.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testModels.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"testDAL.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testDAL.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"testDAL.csproj.FileListAbsolute.txt <span style='color:#111;'> 788B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":[{"title":"testDAL.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"testDAL.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testDAL.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DBHelper.cs <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"testDAL.csproj <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"WordsService.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test.suo <span style='color:#111;'> 80.00KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"bin","children":[{"title":"testBLL.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"testBLL.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"testModels.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testModels.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"testDAL.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testDAL.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"test.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"test.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"test.csproj.user <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"Default.aspx <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 7.76KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"test.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"test.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"test.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Default.aspx.designer.cs <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"test.csproj <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"App_Data","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"Default.aspx.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"test.mdf <span style='color:#111;'> 3.00MB </span>","children":null,"spread":false},{"title":"testBLL","children":[{"title":"testBLL.csproj <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"WordsManage.cs <span style='color:#111;'> 439B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"testBLL.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"testBLL.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"testModels.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testModels.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"testDAL.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testDAL.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"testBLL.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"testBLL.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"testBLL.csproj.FileListAbsolute.txt <span style='color:#111;'> 1006B </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"testBLL.dll <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"testModels","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"testModels.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"testModels.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"testModels.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"testModels.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"testModels.dll <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"testModels.csproj.FileListAbsolute.txt <span style='color:#111;'> 591B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"testModels.csproj <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"Words.cs <span style='color:#111;'> 434B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test.sln <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"test_log.ldf <span style='color:#111;'> 1024.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • tuty1234 :
    正好能用,谢了
    2020-02-21
  • qdhhwy :
    参看参考吧,没多大用处,代码老了。
    2019-05-30
  • litong9888 :
    列子不错,挺好用的,不过是Web,我要WinForm
    2015-08-07
  • 拯救世界的小安安 :
    还可以。Web版本
    2015-01-08
  • dwh075829 :
    还可以。Web版本
    2014-08-29

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明