- 博客(1)
- 资源 (12)
- 收藏
- 关注
原创 从SQL 数据库中读取和存入图片问题
5.3 图片数据处理技巧本实例主要介绍如何将图片存入数据库。将图片存入数据库,首先要在数据库中建立一张表,将存储图片的字段类型设为Image类型,用FileStream类、BinaryReader把图片读成字节的形式,赋给一个字节数组,然后用ADO.SqlCommand对象的ExecuteNonQuery()方法来把数据保存到数据库中。主要代码如下: private voi
2007-11-19 20:50:00 1892
1stJavaScriptEditorPo3.8
1stJavaScriptEditorPo3.81stJavaScriptEditorPo3.81stJavaScriptEditorPo3.81stJavaScriptEditorPo3.81stJavaScriptEditorPo3.81stJavaScriptEditorPo3.81stJavaScriptEditorPo3.8
2009-05-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人