socut.dat源码

时间:2015-03-05 06:27:14
【文件属性】:

文件名称:socut.dat源码

文件大小:2KB

文件格式:RAR

更新时间:2015-03-05 06:27:14

socut

socut的破解using System.Configuration; using System.Data; using System.Data.OleDb; using System.Web.UI; namespace Socut { public class CAcc : System.Web.UI.Page { public System.Data.OleDb.OleDbConnection ConnAcc;//con public string DataAcc;//conn string //连接字符串 public CAcc() { DataAcc = System.Configuration.ConfigurationSettings.AppSettings["SocutDataLink"]; } public void Close() { ConnAcc.Close(); ConnAcc.Dispose(); ConnAcc = null; } //填充dataset函数 public System.Data.DataSet GetDataSet(string sql, int startindex, int num, string dataname) { Open(); System.Data.DataSet dataSet1 = new System.Data.DataSet(); System.Data.OleDb.OleDbDataAdapter oleDbDataAdapter = new System.Data.OleDb.OleDbDataAdapter(sql, ConnAcc); oleDbDataAdapter.Fill(dataSet1, startindex, num, dataname); //代码的复用 Close(); return dataSet1; } //执行没有返回值的sql语句 public void GetExecuteNonQuery(string sql) {


网友评论

  • 代码不完整,不过可以参考。