原文:http://www.cnblogs.com/lzrabbit/p/3287155.html 自用的SQLHelper和MySqlHelper,除一些通用方法外,封装了一些很实用的批量操作方法,简单介绍下 SqlHelper ExecuteEmptyDataTable获取空表结构,主要用于需要 ...
分类:
数据库 时间:
2017-08-07 16:38:46
阅读次数:
267
1.增删改查封装类MysqlHelper.py 2.数据查询(引入封装类) 3.数据修改(引入封装类) ...
分类:
数据库 时间:
2017-07-06 16:51:10
阅读次数:
270
先在Navicat建好数据库,然后在项目文件夹model下建PHP.web文件,然后引入include_once (ROOT . '/library_Easy/mysqlhelper.php'); 2.在项目新建文件夹text,在文件夹下建文件PHP.web include_once '../lib... ...
分类:
Web程序 时间:
2017-06-24 00:27:13
阅读次数:
281
亲自测试,网上其他版本没法用,有很多错误,这是本人亲自测试用的,绝对增删改查都可以。
<?php
/**
* Created by Netbeans.
* User: Lugo
* Date: 16-7-14
* Version: 1.0.0
* Time: 上午10:50
*/
class MysqlHelper {
const HOST...
分类:
数据库 时间:
2016-07-15 21:57:15
阅读次数:
374
代码: using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Da ...
分类:
数据库 时间:
2016-04-25 09:14:52
阅读次数:
233
string sql = @"SELECT FG_Id, FG_Name, FG_Sort, FG_IsDel FROM dbo.FirstGestation"; DataTable FG_List = MySqlhelper.MySqlhelper.ExecuteDataTable(sql); F ...
分类:
其他好文 时间:
2016-03-30 09:51:22
阅读次数:
212
using System;using System;using System.Collections;using System.Collections.Specialized;using System.Data;using MySql.Data.MySqlClient;using System.Co...
分类:
数据库 时间:
2016-01-23 10:20:31
阅读次数:
248
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Data;using System.Collections;using My...
分类:
数据库 时间:
2016-01-22 21:09:40
阅读次数:
229
1、MySql官方提供ADO.NET访问模式的MySql.Data.dll,下载地址:http://dev.mysql.com/downloads/connector/net/2、MySqlHelper,如下:using System;using System.Collections.Generic...
分类:
数据库 时间:
2015-12-05 17:44:08
阅读次数:
851