- 博客(16)
- 资源 (7)
- 收藏
- 关注
原创 asp.net 数据层类 parameter参数访问方式
using System; using System.Data; using System.Text; using System.Data.SqlClient;namespace RBSolution.SQLServerDAL{ /// /// 数据访问类Ph_AdInfo。 /// public class Ph_AdInfo { public Ph_AdInfo() {} #reg
2008-08-30 20:20:00 1037
原创 正则表达式入门教程
目录本文目标 如何使用本教程 什么是正则表达式? 入门 测试正则表达式 元字符 字符转义 重复 字符类 反义 替换 分组 后向引用 位置指定 负向位置指定 注释 贪婪与懒惰 平衡组 还有些什么东西没提到 一些我认为你可能已经知道的术语的参考 网上的资源及本文参考文献 第二版更新说明 本文目标30分钟
2008-09-13 17:19:00 370
原创 泛型与序列化
private IListCustomersM> GetAllCustomers(){ IListCustomersM> customer = new ListCustomersM>(); using (SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["c
2008-08-31 13:19:00 765 1
原创 泛型分布式应用_实例
using System;using System.Collections;using System.Configuration;using System.Data;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.W
2008-08-31 13:14:00 351
原创 泛型分布式应用_业务类
using System;using System.Data;using System.Collections.Generic;using System.Text;using System.Web;using System.Web.Caching;using CSShop.Model;using CSShop.DAL;namespace CSShop.BLL{ /// /// 业
2008-08-31 13:13:00 336
原创 泛型分布式应用_数据访问类
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.W
2008-08-31 13:12:00 284
原创 泛型分布式应用_实体类
using System;namespace CSShop.Model{ [Serializable] public class Dz_Zone { public Dz_Zone() { } private int _id; private int _parentid; priv
2008-08-31 10:28:00 387
原创 asp.net 序列化与反序列化
/// /// 反序列化 /// /// 对象类型 /// 文件路径 /// public static object Load(Type type, string filename) { FileStream fs = null; try { fs = new FileStream(filename, FileMode.Open, FileAccess.Re
2008-08-31 10:14:00 548 1
原创 asp.net 分页
/// 总记录数 /// 每页记录数 /// 当前页数 /// Url参数 public static string pagination(int total,int per,int page,string query_string) { int allpage=0; int next=0; int pre=0; int startcount=0; int endco
2008-08-30 20:42:00 235
原创 asp.net 数据层类 存储过程访问方式
using System; using System.Data; using System.Text; using System.Data.SqlClient;namespace RBSolution.SQLServerDAL{ /// /// 数据访问类Ph_AdInfo 。 /// public class Ph_AdInfo { public Ph_AdInfo() {} #re
2008-08-30 20:37:00 538 1
原创 asp.net 数据层类 SQL访问方式
using System; using System.Data; using System.Text; using System.Data.SqlClient;namespace RBSolution.SQLServerDAL{ /// /// 数据访问类Ph_AdInfo。 /// public class Ph_AdInfo { public Ph_AdInfo() {} #reg
2008-08-30 20:35:00 555 1
原创 asp.net 业务类
using System; using System.Data; using System.Text; using System.Data.SqlClient;namespace RBSolution.BLL{ /// /// 业务逻辑类Ph_AdInfo 的摘要说明。 /// public class Ph_AdInfo { private static readonly RBSolut
2008-08-30 20:34:00 305
原创 asp.net 实体类
using System;namespace RBSolution.Model{ /// /// 实体类Ph_AdInfo 。(属性说明自动提取数据库字段的描述信息) /// public class Ph_AdInfo { public Ph_AdInfo() {} #region Model private int _id; private int _palectype; pr
2008-08-30 20:33:00 458
原创 asp.net 存储过程CRUD
/******************************************************************* 表名:Ph_AdInfo* 时间:2008-8-30 20:14:06******************************************************************/---------------------------
2008-08-30 20:09:00 374
原创 asp.net ado操作类
using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Data.SqlClient;using System.Configuration;namespace DZSolution{ /// /// 用户可以修改满足自己项目的需要。 /
2008-08-30 20:05:00 319
原创 web.config数据库链接字符窜
providerName="System.Data.SqlClient" /> //------using System.Web.Configuration命名空间-----//asp.net1.1protected static string connectionString = ConfigurationSettings.AppSett
2008-08-30 19:55:00 334
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人