CBase.cs
来源:互联网 发布:关键字怎么优化 编辑:程序博客网 时间:2024/05/01 14:06
// CBase.cs
//
namespace learn.cs
{
using System;
using System.Configuration;
/// <summary>
/// CBase 的摘要说明。
/// </summary>
//----------------------------------基础类CBase-----------------------------------
public class CBase
{
/// <summary>
/// Creates a new instance of CBase
/// </summary>
public int ISDebug =1;
protected string strConnectString;
protected string strLastError;
protected int strRETURN_VALUE;
//构造函数
public CBase()
{
if (System.Web.HttpContext.Current.Application["ConnectString"]!=null)
{
strConnectString=System.Web.HttpContext.Current.Application["ConnectString"].ToString();
}
else
{
strConnectString = ConfigurationSettings.AppSettings["test"];
}
}
public string ConnectionString
{
set
{
if(value !=null)
this.strConnectString=value;
}
get
{
return strConnectString;
}
}
public string LastError
{
get{return strLastError;}
}
public void ErrorLog(string ErrorMessage,string FunctionName )
{
}
public int RETURN_VALUE
{
get{return strRETURN_VALUE;}
set{strRETURN_VALUE=value;}
}
}
//---------------------------------CBase类结束--------------------------------------------------
}
- CBase.cs
- CBase剖析
- E32USER-CBase
- CBase类的内幕
- Symbian RPointArray CBase
- Symbian - E32User-CBase 46 陷阱
- CS..........................
- cs
- cs
- cs
- Cs
- cs
- cs
- cs
- CS
- cs
- cs,
- cs
- 请各位大侠进来帮忙 安全问题 欲跳楼
- 我的第一次出差
- 用C++访问DBF文件的方法
- SQL 语法参考手册(SQL)
- c++仿C# event
- CBase.cs
- ASP.NET程序中常用的三十三种代码
- 圣诞快乐
- Pattern-Oriented Software Architecture
- (Win)Upack 0.39final by dwing
- 求矩阵的最大路径的问题
- WinCE实验教程之二集成开发环境
- Apex的ORIGlN版本 规格
- 如何使用索引,转摘