您目前尚未登陆,请选择【登陆】或【注册
首页->新闻文章->破竹CMS4.0免安装版源码>>admin/Scheduling/ViewScheduleHistory.aspx.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:破竹CMS4.0免安装版源码
当前文件:文件类型 PozhuCMS/admin/Scheduling/ViewScheduleHistory.aspx.cs打开代码结构图
普通视图
		            
1using System; 2using System.Data; 3using System.Configuration; 4using System.Collections; 5using System.Web; 6using System.Web.Security; 7using System.Web.UI; 8using System.Web.UI.WebControls; 9using System.Web.UI.WebControls.WebParts; 10using System.Web.UI.HtmlControls; 11using Pozhu.Services.Scheduling; 12using Pozhu.Services.Exceptions; 13using Pozhu.CMS.Web; 14 15public partial class admin_Scheduling_ViewScheduleHistory : AdminPageBase 16{ 17 /// <summary> 18 /// Page_Load runs when the control is loaded. 19 /// </summary> 20 /// <returns></returns> 21 /// <remarks> 22 /// </remarks> 23 /// <history> 24 /// [cnurse] 9/28/2004 Updated to reflect design changes for Help, 508 support 25 /// and localisation 26 /// </history> 27 protected void Page_Load(Object sender, EventArgs e) 28 { 29 try 30 { 31 if (!Page.IsPostBack) 32 { 33 int ScheduleID; 34 if (Request.QueryString["ScheduleID"] != null) 35 { 36 //get history for specific scheduleid 37 ScheduleID = Convert.ToInt32(Request.QueryString["ScheduleID"]); 38 } 39 else 40 { 41 //get history for all schedules 42 ScheduleID = -1; 43 } 44 ArrayList arrSchedule = SchedulingProvider.Instance().GetScheduleHistory(ScheduleID); 45 arrSchedule.Sort(new ScheduleHistorySortStartDate()); 46 47 this.rptScheduleHistory.DataSource = arrSchedule; 48 rptScheduleHistory.DataBind(); 49 } 50 } 51 catch (Exception exc) //Module failed to load 52 { 53 Exceptions.LogException(exc); 54 } 55 } 56}
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:破竹CMS4.0免安装版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号