摘要:
注意:我要存储文件二进制流的列的类型是text,不是image类型。我已经实现了从数据库中读取text类型的二进制流,,现在就是不知道怎么存进去.我的部分关键代码:StreamReader sr = new StreamReader(FilePath, System.Text.Encoding.GetEncoding("GB2312"), true);string filetext = sr.ReadLine();//这是要存进数据库的文件二进制流文本他们告诉我具体该用FileStream这个类来读取...但是我不知道怎么用...上面我的代码存到数据库后,我再读取出来二进制 阅读全文
posted @ 2013-11-05 10:50
无忧岛主
阅读(6924)
评论(0)
推荐(1)
摘要:
using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Data.OleDb; 阅读全文
posted @ 2013-11-05 10:48
无忧岛主
阅读(6901)
评论(9)
推荐(0)
摘要:
--2016-12-19日进行第一次更新 错误: 与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: 命名管道提供程序, error: 40 - 无法打开到 S 阅读全文
posted @ 2013-11-05 10:46
无忧岛主
阅读(206071)
评论(3)
推荐(6)