![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET
文章平均质量分 71
liangpei2008
22
展开
-
.NET创建Web窗体基类
用Java开发时,一般都用一个抽象类继承HttpServlet来控制 public abstract class FormObject extends HttpServlet { } 今天在用.NET开发时,也希望创建一个抽象基类,该类继承System.Web.UI.Page,以便打开页面时判断是否登陆。但在其构造函数中使用Session发现问题。 有在配置文件或 Page 指令中原创 2012-02-09 14:12:04 · 1389 阅读 · 0 评论 -
.NET的DAO类
写了一个.NET的简易的DAO类 1.可以支持带或不带参数的SQL 2.可以返回XML的结果集或dataset的结果集 using System; using System.Collections.Generic; using System.Text; using System.Configuration; using System.Data.SqlClient; us原创 2012-01-29 18:30:12 · 2554 阅读 · 0 评论