SqlHelper

sqlhelper类是什么
.NET

sqlhelper类是什么

39 0

sqlhelper类是指一个基于“.NET Framework”的数据库操作组件,组件中包含数据库操作方法;SqlHelper用于简化你重复的去写那些数据库连接SqlCommand或SqlDataReader等等。SqlHelper是一个基于.NET Framework的数据库操作组件。组件中包含数据库操作方法。SqlHelper用于简化你重复的去写那些数据库连接(SqlConnection),SqlCommand,SqlDataReader等等。SqlHelper 封装过后通常是只需要给方法传入一些参数

.NET

关于.net C# Sql数据库SQLHelper类实例代码

42 0

using System;using System.Collections.Generic;using System.Text;using System.Collections;using System.Data.SqlClient;using System.Data;using System.Configuration; public class SQLHelper { //取得数据库连接web.config 中配置 public static readonly