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 Detail : Com.Jpsoft.Hospital.Web.Common.BasePage
{
Com.Jpsoft.Hospital.BLL.jp_sys_function fun = new Com.Jpsoft.Hospital.BLL.jp_sys_function();
Com.Jpsoft.Hospital.Model.jp_sys_function model = new Com.Jpsoft.Hospital.Model.jp_sys_function();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["id"].ToString().Trim() != "" && Request.QueryString["id"] != null)
{
int id = int.Parse(Request.QueryString["id"].ToString());
ShowData(id);
}
}
}
///
/// 显示数据
///
///
private void ShowData(int id)
{
model = fun.GetModel(id);
this.fun_name.Text = model.fun_name.ToString();
this.fun_pagedata.Text = model.fun_pagename.ToString();
}
}
}