在MySQL数据库中,有一种blob数据类型,用来存储文件.C#编程语言操作MySQL数据库需要使用MySQL官方组件MySQL.Data.dll. Mysql.Data.dll(6.9.6)组件下载地址:http://download.csdn.net/detail/keypig_zz/9262767. 现在说一说如何实现blob类型数据的操作. 新建winform程序,添加两个按钮.代码如下: System.IO.MemoryStream ms = new System.IO.MemoryS
Spring 中配置扫描器 <!-- springmvc的扫描器--> <context:component-scan base-package="com.beifeng.servlet"/> 建立Controller 类 @Controller @RequestMapping(value="/sys/") public class RegController { @RequestMapping(value="reg.do"