SystemInit.aspx.cs
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:1k
- using System;
- using System.Data;
- using System.Configuration;
- using System.Collections;
- using System.Web;
- using System.Web.Security;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Web.UI.WebControls.WebParts;
- using System.Web.UI.HtmlControls;
- using com.etong.DAL.FC;
- public partial class SysManage_SystemInit : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- }
- protected void Init_Click(object sender, ImageClickEventArgs e)
- {
- EtongFlyChouInit EFlyInit = new EtongFlyChouInit();
- try
- {
- EFlyInit.OrgInit();
- EFlyInit.EmpInit();
- }
- catch (Exception ex)
- {
- this.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('" + ex.Message.Replace("'", "").Replace("rn", "").Replace("n", "") + "');</script>");
- return;
- }
- this.ClientScript.RegisterStartupScript(this.GetType(),"","alert('系统提示:系统初始化成功!');",true);
- }
- }