
C#、C++、Java等和MySQL联合编程
shawncheer
这个作者很懒,什么都没留下…
展开
-
基于VS2013 X64的boost.python环境搭建
本机测试失败!本文参考:http://blog.youkuaiyun.com/lpp0900320123/article/details/52014741http://edyfox.codecarver.org/html/boost_python.htmlhttps://zhuanlan.zhihu.com/p/22547951http://blog.chinaunix原创 2016-12-16 14:21:14 · 1844 阅读 · 0 评论 -
mysql+C#实战七:从界面输入记录
本程序参考了 http://www.oschina.net/translate/how-to-connect-to-mysql-using-csharp首先创建一个数据表student_score;CREATE TABLE `student`.`student_score` ( `Id` SMALLINT(1) UNSIGNED NOT NULL AUTO_INCREMENT, `原创 2016-04-20 22:56:41 · 674 阅读 · 0 评论 -
mysql+C#实战六:调用存储过程
首先在数据库中兴建一个存储过程:DELIMITER //CREATE PROCEDURE country_hos(IN con CHAR(20))BEGINSELECT Name, HeadOfState FROM CountryWHERE Continent = con;END //DELIMITER ;如果想测试一下行不行;可以用以下来查询;CALL country_原创 2016-04-20 20:03:10 · 668 阅读 · 0 评论 -
mysql+C#实战五:引入变量并从程序中赋值
本程序作用是在程序中引入变量和交互,让程序从外部输入读取数据;增加程序安全性;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data;using MySql.Data.MySqlCl原创 2016-04-20 12:52:05 · 1319 阅读 · 0 评论 -
mysql+C#实战四:从数据库中读取数据块和更新数据;
本文参考文档:http://download.youkuaiyun.com/detail/shawncheer/9494349首先打开数据库,输入命令切换到world数据库;use world;再查看里面有什么:select * from country;发现里面的数据挺老的;本文主要实现以下内容;从数据库读取大块数据,并且显示在Grid View Control中,并且可以更新到原创 2016-04-19 23:02:13 · 5363 阅读 · 0 评论 -
mysql+C#实战三:数据库查询操作;
下面程序功能:查询数据表中的数据数目;并且使用ExecuteScalar()来获取;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data;using MySql.Data.MySq原创 2016-04-18 18:35:48 · 3494 阅读 · 0 评论 -
mysql+C#实战二:获取数据库构架信息
本文参考:https://dev.mysql.com/doc/connector-net/en/connector-net-programming-getschema.html一种加载数据库的方法如下:using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tas原创 2016-04-18 10:54:21 · 728 阅读 · 0 评论 -
mysql+C#实战一:向数据库里面写入数据
首先,得打开数据库工作站;然后从文件中添加数据接口dll,再写入C#语句using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;using System.Windows.C原创 2016-04-17 12:26:41 · 6242 阅读 · 0 评论