温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:风讯dotNETCMSv1.0免安装版源码
当前文件:
FooSunCMS/Foosun.CMS/Help.cs[2K,2009-6-12 11:42:42],打开代码结构图
FooSunCMS/Foosun.CMS/Help.cs[2K,2009-6-12 11:42:42],打开代码结构图1//=========================================================== 2
//== (c)2007 Foosun Inc. by dotNETCMS 1.0 == 3
//== Forum:bbs.foosun.net == 4
//== website:www.foosun.net == 5
//== Address:NO.109 HuiMin ST.,Chengdu ,China == 6
//== TEL:86-28-85098980/66026180 == 7
//== qq:655071,MSN:ikoolls@gmail.com == 8
//== Code By Xi.Deng == 9
//=========================================================== 10
using System; 11
using System.Collections.Generic; 12
using System.Text; 13
using System.Data; 14
using Foosun.DALFactory; 15
using Foosun.Model; 16
17
namespace Foosun.CMS 18
{ 19
public class Help 20
{ 21
private IHelp dal; 22
public Help() 23
{ 24
dal = Foosun.DALFactory.DataAccess.CreateHelp(); 25
} 26
public int Str_CheckSql(string Str_HelpID) 27
{ 28
return dal.Str_CheckSql(Str_HelpID); 29
} 30
public int Str_InsSql(string Str_HelpID, string Str_CnHelpTitle, string Str_CnHelpContent) 31
{ 32
return dal.Str_InsSql(Str_HelpID, Str_CnHelpTitle, Str_CnHelpContent); 33
} 34
35
public int updatehelp(int Str_HelpID, string Str_CnHelpTitle, string Str_CnHelpContent) 36
{ 37
return dal.updatehelp(Str_HelpID, Str_CnHelpTitle, Str_CnHelpContent); 38
} 39
40
public int Str_DelSql(int ID) 41
{ 42
return dal.Str_DelSql(ID); 43
} 44
public DataTable GetPage(string _HelpID,int PageIndex, int PageSize, out int RecordCount, out int PageCount, params SQLConditionInfo[] SqlCondition) 45
{ 46
return dal.GetPage(_HelpID,PageIndex, PageSize, out RecordCount, out PageCount, SqlCondition); 47
} 48
public DataTable getHelpID(int id) 49
{ 50
return dal.getHelpID(id); 51
} 52
53
public DataTable getHelpID1(string HelpId) 54
{ 55
return dal.getHelpID1(HelpId); 56
} 57
} 58
}






}
}