实现.net cms系统 第三篇《大刀阔斧-核心源码》
来源:未知 责任编辑:责任编辑 发表时间:2014-02-18 03:26 点击:次
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace Aspx.Web
7 {
8 public class Condition //返回数据的条件对象
9 {
10 /// <summary>HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html tHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html bsp;50 public string Sort
51 {
52 get { return _Sort; }
53 set { _Sort = value; }
54 }
55 /// <summary>
56 /// 查询条件
57 /// </summary>
58 private string _Where = "";
59 public string Where
60 {
61 get { return _Where; }
62 set { _Where = value; }
63 }
64 /// <summary>
65 /// 填写当前地址栏,所传参数的名称,以便获取,交与 Where 匹配
66 /// </summary>
67 private string _GetKey = "";
68 public string GetKey
69 {
70 get { return _GetKey; }
71 set { _GetKey = value; }
72 }
73 }
74 public class _Model : Condition
75 {
76 public string Aspx(string htmlContent)
77 {
78 string html = "";
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace Aspx.Web
7 {
8 public class Condition //返回数据的条件对象
9 {
10 /// <summary>HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html tHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html bsp;50 public string Sort
51 {
52 get { return _Sort; }
53 set { _Sort = value; }
54 }
55 /// <summary>
56 /// 查询条件
57 /// </summary>
58 private string _Where = "";
59 public string Where
60 {
61 get { return _Where; }
62 set { _Where = value; }
63 }
64 /// <summary>
65 /// 填写当前地址栏,所传参数的名称,以便获取,交与 Where 匹配
66 /// </summary>
67 private string _GetKey = "";
68 public string GetKey
69 {
70 get { return _GetKey; }
71 set { _GetKey = value; }
72 }
73 }
74 public class _Model : Condition
75 {
76 public string Aspx(string htmlContent)
77 {
78 string html = "";
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>