using System; using System.Collections.Generic; //using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Com.Jpsoft.Hospital.Web.Module.Sys.Function { public partial class Insert : Com.Jpsoft.Hospital.Web.Common.BasePage { protected void Page_Load(object sender, EventArgs e) { } protected void btnBack_Click(object sender, EventArgs e) { Response.Redirect("List.aspx"); } protected void btnOK_Click(object sender, EventArgs e) { Com.Jpsoft.Hospital.Model.jp_sys_function model = new Com.Jpsoft.Hospital.Model.jp_sys_function(); Com.Jpsoft.Hospital.BLL.jp_sys_function fun = new Com.Jpsoft.Hospital.BLL.jp_sys_function(); model.fun_name = this.fun_name.Text; model.fun_pagename = this.fun_pagedata.Text; fun.Add(model); Response.Write(""); } } }