码迷,mamicode.com
首页 >  
搜索关键字:mysqlhelper    ( 45个结果
[转]MySQLHelper类
本文转自:http://de.cel.blog.163.com/blog/static/5145123620110181003903/类似于SQLHelper,只是这里引用的是MySql.Data类库,而不是System.Data.SqlClient;因为.Net框架里面并不包 含些类库,好在咱们有...
分类:数据库   时间:2015-12-01 16:29:23    阅读次数:271
c# MySqlHelper_ExecuteSqlTran
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Data;using System.Collections;using My...
分类:数据库   时间:2015-11-11 14:53:34    阅读次数:278
C#------事物的回滚
class Program { static void Main(string[] args) { //事物的回滚 using(MySqlConnection conn = MySqlHelper.CreateConnec...
分类:Windows程序   时间:2015-09-05 19:06:11    阅读次数:198
c#------MySqlHelper
class MySqlHelper { //从配置文件读取连接字符串 private static readonly string connstr = ConfigurationManager.ConnectionStrings["connStrs"].Conne...
分类:数据库   时间:2015-09-05 17:49:40    阅读次数:267
C# 与MySQL
1. MySQL.Data.dll http://files.cnblogs.com/files/lwngreat/MySql.Data.rar2.在工程中添加引用 3. 使用 MysqlHelper.cs 方便MySQL的应用/***********************************...
分类:数据库   时间:2015-08-09 20:33:20    阅读次数:266
MySql数据库连接操作
主要封装为MySqlHelper类namespace CiWong.LearningLevelApi.MySqlHelp{ /// /// MySqlHelper 类是基于.net框架开发的数据库操作类 /// public class MySqlHelper { ...
分类:数据库   时间:2015-07-27 18:09:05    阅读次数:124
表单内容提交到数据库案例
配置好Web.config,在configuration里面添加节点connectionStrings: 写好MySqlHelper:using System;using System.Collections.Generic;using Sy...
分类:数据库   时间:2015-07-20 15:41:29    阅读次数:125
C# MySqlHelper
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data.MySqlClient; using System.Data; class MySqlHelper:IDisposable { private MySqlConnecti...
分类:数据库   时间:2015-05-30 18:21:34    阅读次数:172
MysqlHelper使用反射机制智能推算数据类型以及属性名称
public class MySqlHelper { private string ConnString; public MySqlHelper(string connectionString) { ConnString ...
分类:数据库   时间:2015-05-25 20:17:54    阅读次数:114
C# vs MySql
MySqlHelper类 /// ///MySql操作类 /// public abstract class MySqlHelper { //数据库连接字符串 public static string Conn = "Database='...
分类:数据库   时间:2015-05-19 18:37:29    阅读次数:230
45条   上一页 1 2 3 4 5 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!