IfxDb简单用例
来源:互联网 发布:淘宝店怎么玩 编辑:程序博客网 时间:2024/05/17 08:37
IfxConnection connection = new IfxConnection("Database=niosdb;Host=192.168.8.56;Server=niosserver34;Service=8001; UID=informix;Password=informix;");
string sql = "insert into tap_so_Voronoi(filename,filedata) values(?, ?)";
IfxCommand cm = new IfxCommand(sql, connection);
cm.Parameters.Add(new IfxParameter()).Value = scan_start_time;
cm.ExecuteNonQuery();
connection.Close();
string sql = "insert into tap_so_Voronoi(filename,filedata) values(?, ?)";
IfxCommand cm = new IfxCommand(sql, connection);
cm.Parameters.Add(new IfxParameter()).Value = scan_start_time;
cm.Parameters.Add(new IfxParameter()).Value = fileData;
//cm.Parameters.Add(new IfxParameter("filename",IfxType.VarChar,20)).Value = scan_start_time;
//cm.Parameters.Add(new IfxParameter("filedata",IfxType.Byte)).Value = fileData;
cm.ExecuteNonQuery();
connection.Close();
- IfxDb简单用例
- Ajax简单用例
- cokies简单用例
- OleDB简单用例
- makefile简单用例
- websocket 简单用例
- DFSORT 简单用例
- Ajax的简单用例
- C# 枚举简单用例
- 枚举类简单用例
- LinQ简单的用例
- Android Webkit简单用例
- POI的简单用例
- bat命令简单用例
- STL容器简单用例
- socket简单编程用例
- kindEditor初始化(简单用例)
- jquery validate 简单用例
- 回调函数的作用与实现
- Can't find default configuration "arch/xx/configs/xx_defconfig"!
- 问题解决——出现符号 "("在需要下列之一时
- java mail
- jQuery学习
- IfxDb简单用例
- xfire建立 Web Service
- asp.net抓取数据(一)
- Java Vector ArrayList LinkedList 区别
- VS2010编译时 mt.exe出错解决方法
- eclipse 的一些使用心得
- Insert 'value' into every element but the first
- helloworld对应的汇编
- php---window 7 配置memcached并测试成功