亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jzhenzhao.aspx.cs

?? C#某醫(yī)院管理系統(tǒng)
?? CS
字號:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

namespace 醫(yī)院管理系統(tǒng)
{
	/// <summary>
	/// jzhenzhao 的摘要說明。
	/// </summary>
	public class jzhenzhao : System.Web.UI.Page
	{
		protected System.Data.SqlClient.SqlCommand sqlSelectCommand1;
		protected System.Data.SqlClient.SqlCommand sqlInsertCommand1;
		protected System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
		protected System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
		protected System.Data.SqlClient.SqlDataAdapter sda;
		protected System.Data.SqlClient.SqlConnection cnn;
		protected 醫(yī)院管理系統(tǒng).jzzhao jzzhao1;
		protected System.Web.UI.WebControls.TextBox TextBox1;
		protected System.Web.UI.WebControls.Button Button1;
		protected System.Data.SqlClient.SqlCommand sqlSelectCommand2;
		protected System.Data.SqlClient.SqlCommand sqlInsertCommand2;
		protected System.Data.SqlClient.SqlCommand sqlUpdateCommand2;
		protected System.Data.SqlClient.SqlCommand sqlDeleteCommand2;
		protected System.Data.SqlClient.SqlDataAdapter sda1;
		protected System.Data.SqlClient.SqlCommand cmd;
		protected System.Web.UI.WebControls.Button Button2;
		protected System.Web.UI.WebControls.Label Label13;
		protected System.Web.UI.WebControls.Label Label12;
		protected System.Web.UI.WebControls.Label Label11;
		protected System.Web.UI.WebControls.Label Label10;
		protected System.Web.UI.WebControls.Label Label9;
		protected System.Web.UI.WebControls.Label Label8;
		protected System.Web.UI.WebControls.Label Label7;
		protected System.Web.UI.WebControls.Label Label6;
		protected System.Web.UI.WebControls.Label Label5;
		protected System.Web.UI.WebControls.Label Label4;
		protected System.Web.UI.WebControls.Label Label3;
		protected System.Web.UI.WebControls.Label Label2;
		protected System.Web.UI.WebControls.Label Label1;
		protected System.Web.UI.WebControls.Panel p1;
		protected System.Web.UI.WebControls.Label Label14;
		protected System.Web.UI.WebControls.Image Image1;
		protected System.Web.UI.WebControls.Button Button3;
		protected System.Web.UI.WebControls.DataGrid DataGrid1;
		Cpass cpa =new Cpass(); 
	
		private void Page_Load(object sender, System.EventArgs e)
		{
			try
			{
				string user= Session["usename"].ToString();
				string pwd=Session["pwds"].ToString() ; //獲得變量值	
				if(cpa.CH(user, pwd, "就診")=="Norights")//用戶名或密碼錯或無權(quán)限	
					
					Response.Redirect("index.aspx");
			
			} 
			catch
			{
				Response.Redirect("index.aspx");
		
			} 	
			if(!IsPostBack)
			{
				fill();
			}
		}
		private void fill()
		{
			if(cnn.State==0) cnn.Open();
		sda.SelectCommand.ExecuteNonQuery();
		jzzhao1.Clear(); 
		sda.Fill(jzzhao1); 
		cnn.Close();
		DataGrid1.DataBind(); 
		}

		#region Web 窗體設(shè)計器生成的代碼
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN: 該調(diào)用是 ASP.NET Web 窗體設(shè)計器所必需的。
			//
			InitializeComponent();
			base.OnInit(e);
		}
		
		/// <summary>
		/// 設(shè)計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內(nèi)容。
		/// </summary>
		private void InitializeComponent()
		{    
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.cnn = new System.Data.SqlClient.SqlConnection();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sda = new System.Data.SqlClient.SqlDataAdapter();
			this.jzzhao1 = new 醫(yī)院管理系統(tǒng).jzzhao();
			this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand();
			this.sqlInsertCommand2 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand2 = new System.Data.SqlClient.SqlCommand();
			this.sqlDeleteCommand2 = new System.Data.SqlClient.SqlCommand();
			this.sda1 = new System.Data.SqlClient.SqlDataAdapter();
			this.cmd = new System.Data.SqlClient.SqlCommand();
			((System.ComponentModel.ISupportInitialize)(this.jzzhao1)).BeginInit();
			this.DataGrid1.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler(this.DataGrid1_PageIndexChanged);
			this.DataGrid1.SelectedIndexChanged += new System.EventHandler(this.DataGrid1_SelectedIndexChanged);
			this.Button1.Click += new System.EventHandler(this.Button1_Click);
			this.Button2.Click += new System.EventHandler(this.Button2_Click);
			// 
			// sqlSelectCommand1
			// 
			this.sqlSelectCommand1.CommandText = "[jzzhao]";
			this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure;
			this.sqlSelectCommand1.Connection = this.cnn;
			this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(0)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
			// 
			// cnn
			// 
			this.cnn.ConnectionString = "workstation id=\"802-HUANGHAI\";packet size=4096;integrated security=SSPI;data sour" +
				"ce=\".\";persist security info=False;initial catalog=醫(yī)院管理系統(tǒng)";
			// 
			// sda
			// 
			this.sda.DeleteCommand = this.sqlDeleteCommand1;
			this.sda.InsertCommand = this.sqlInsertCommand1;
			this.sda.SelectCommand = this.sqlSelectCommand1;
			this.sda.UpdateCommand = this.sqlUpdateCommand1;
			// 
			// jzzhao1
			// 
			this.jzzhao1.DataSetName = "jzzhao";
			this.jzzhao1.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// sqlSelectCommand2
			// 
			this.sqlSelectCommand2.CommandText = "[seljz]";
			this.sqlSelectCommand2.CommandType = System.Data.CommandType.StoredProcedure;
			this.sqlSelectCommand2.Connection = this.cnn;
			this.sqlSelectCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(0)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
			this.sqlSelectCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@掛號號碼", System.Data.SqlDbType.NVarChar, 20));
			// 
			// sda1
			// 
			this.sda1.DeleteCommand = this.sqlDeleteCommand2;
			this.sda1.InsertCommand = this.sqlInsertCommand2;
			this.sda1.SelectCommand = this.sqlSelectCommand2;
			this.sda1.UpdateCommand = this.sqlUpdateCommand2;
			// 
			// cmd
			// 
			this.cmd.CommandText = "[jz]";
			this.cmd.CommandType = System.Data.CommandType.StoredProcedure;
			this.cmd.Connection = this.cnn;
			this.cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(0)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
			this.cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@id", System.Data.SqlDbType.Int, 4));
			this.Button3.Click += new System.EventHandler(this.Button3_Click);
			this.Load += new System.EventHandler(this.Page_Load);
			((System.ComponentModel.ISupportInitialize)(this.jzzhao1)).EndInit();

		}
		#endregion

		private void Button1_Click(object sender, System.EventArgs e)
		{
			p1.Visible =false;
			if(cnn.State==0) cnn.Open();
			sda1.SelectCommand.Parameters["@掛號號碼"].Value=TextBox1.Text;
			sda1.SelectCommand.ExecuteNonQuery ();
			this.jzzhao1.Clear();
			this.sda1.Fill(jzzhao1);
			this.DataGrid1.DataBind();
			cnn.Close();
		}

		private void Button2_Click(object sender, System.EventArgs e)
		{
			if(DataGrid1.SelectedIndex==-1)
			{
				Response.Write("<script language=javascript>alert('你還沒選擇!');</script>") ;
			}
			else
			{
				if(cnn.State==0) cnn.Open();
				p1.Visible =true;
				cmd.Parameters["@id"].Value=Convert.ToInt32(DataGrid1.SelectedItem.Cells[0].Text);
				Label14.Text=DataGrid1.SelectedItem.Cells[1].Text+"——詳細(xì)信息";
				SqlDataReader rd=cmd.ExecuteReader();
				while (rd.Read())
				{
					this.Label1.Text =rd.GetValue(0).ToString();
					this.Label2.Text =rd.GetValue(1).ToString();
					this.Label3.Text =rd.GetValue(2).ToString();
					this.Label4.Text =rd.GetValue(3).ToString();
					this.Label5.Text =rd.GetValue(4).ToString();
					this.Label6.Text =rd.GetValue(5).ToString();
					this.Label7.Text =rd.GetValue(6).ToString();
					this.Label8.Text =rd.GetValue(7).ToString();
					this.Label9.Text =rd.GetValue(8).ToString();
					this.Label10.Text =rd.GetValue(9).ToString();
					this.Label11.Text =rd.GetValue(10).ToString();
					this.Label12.Text =rd.GetValue(11).ToString();
					this.Label13.Text =rd.GetValue(12).ToString();
				}
			}
		}

		private void DataGrid1_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			p1.Visible =false;
		}

		private void DataGrid1_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
		{
			DataGrid1.CurrentPageIndex = e.NewPageIndex;
			fill();
		}

		private void Button3_Click(object sender, System.EventArgs e)
		{
			this.Response.Redirect("jiuzhen.aspx");
		}
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆91免费看| 欧美日产在线观看| 久久综合色一综合色88| 美女网站色91| 久久久777精品电影网影网 | 国产精品亚洲综合一区在线观看| 国产精品一二三四| 欧美国产精品久久| 94-欧美-setu| 亚洲va在线va天堂| 亚洲精品一线二线三线无人区| 国产伦精品一区二区三区免费迷 | 欧美大片一区二区三区| 国产中文字幕精品| 国产精品国产三级国产有无不卡| 欧美综合欧美视频| 日本不卡一二三区黄网| 欧美videofree性高清杂交| 成人丝袜高跟foot| 亚洲国产日韩综合久久精品| 欧美成人三级电影在线| 免费高清在线一区| 久久精品视频在线看| 日韩—二三区免费观看av| 久久色成人在线| 99精品欧美一区二区三区小说| 亚洲高清免费视频| 久久久噜噜噜久久中文字幕色伊伊| 欧美一区二区视频免费观看| 国产一区二区不卡| 亚洲国产日韩一级| 久久精品人人做人人爽97| 欧美色综合天天久久综合精品| 黑人精品欧美一区二区蜜桃 | 日韩一区二区免费在线观看| 不卡的电视剧免费网站有什么| 午夜成人免费电影| 国产精品嫩草久久久久| 在线播放亚洲一区| 色综合天天狠狠| 国产一区二区三区精品欧美日韩一区二区三区 | 国产一区二区在线免费观看| 亚洲国产精品av| 91精品欧美综合在线观看最新 | 日本成人在线看| 亚洲欧美在线视频观看| 精品国产免费视频| 欧美日韩国产免费一区二区| 不卡一区二区在线| 国产曰批免费观看久久久| 亚洲另类春色国产| 国产精品激情偷乱一区二区∴| 欧美zozo另类异族| 91精品国产综合久久久久久| 一本色道久久加勒比精品| 国产成人精品一区二区三区四区 | 欧美日韩一区成人| 99久久精品免费| 国产精品一二一区| 免费精品视频在线| 日韩在线卡一卡二| 亚洲一区二区精品3399| 亚洲黄网站在线观看| 国产精品免费看片| 国产精品免费视频一区| 国产欧美日本一区视频| 久久网站热最新地址| 精品欧美一区二区久久| 欧美一区二区三区系列电影| 91麻豆精品91久久久久同性| 欧美日韩国产bt| 91麻豆精品久久久久蜜臀| 91色乱码一区二区三区| www.亚洲国产| jlzzjlzz欧美大全| 不卡视频在线看| 成人白浆超碰人人人人| 欧美午夜视频网站| 欧美视频一区二区三区四区 | 国产69精品久久久久777| 国产综合色视频| 国产精品一级二级三级| 国产成人在线网站| 成人高清免费观看| 91麻豆国产福利在线观看| 在线看国产一区二区| 欧美色综合网站| 日韩亚洲欧美一区| 久久久久久免费毛片精品| 久久精品这里都是精品| 国产精品麻豆久久久| 亚洲免费在线视频| 日韩激情在线观看| 国产精品一区在线观看你懂的| 国产91丝袜在线观看| 色综合天天综合网天天狠天天| 91福利在线观看| 日韩亚洲欧美在线| 国产精品人人做人人爽人人添| 亚洲欧美日本在线| 视频一区欧美精品| 国产在线播精品第三| 99久久国产综合精品色伊| 欧美色视频一区| 精品91自产拍在线观看一区| 国产精品久久久久永久免费观看 | 人人狠狠综合久久亚洲| 国产精品一区二区在线看| 91麻豆精品在线观看| 欧美美女一区二区三区| 久久人人爽人人爽| 亚洲乱码国产乱码精品精的特点| 免费人成精品欧美精品| 成人污污视频在线观看| 欧美日韩在线免费视频| 久久蜜桃av一区二区天堂| 亚洲精品中文字幕乱码三区| 免费不卡在线视频| av中文一区二区三区| 日韩丝袜美女视频| 中文字幕一区二区在线观看 | 黄色资源网久久资源365| 91在线观看美女| 精品久久久三级丝袜| 一区二区免费在线| 国产成人综合亚洲网站| 91精品在线免费| 亚洲成人免费在线观看| 亚洲成人av电影| 成人性生交大片免费看中文网站| 欧美日韩国产一二三| 久久久久成人黄色影片| 丝袜美腿亚洲一区| 91无套直看片红桃| 久久综合成人精品亚洲另类欧美| 亚洲精品免费看| 成人精品在线视频观看| 91麻豆精品久久久久蜜臀| 伊人开心综合网| 成人污污视频在线观看| 久久综合狠狠综合| 日韩精品乱码免费| 在线观看国产精品网站| 国产精品久久久久久一区二区三区| 美脚の诱脚舐め脚责91 | 欧美一级日韩一级| 91亚洲男人天堂| 精品国产精品一区二区夜夜嗨| 亚洲免费视频中文字幕| 高清在线成人网| 精品国产露脸精彩对白| 免费观看一级欧美片| 欧美日本韩国一区| 亚洲综合视频网| 色综合一区二区| 自拍偷在线精品自拍偷无码专区 | 97久久超碰国产精品电影| 久久久亚洲欧洲日产国码αv| 日本成人在线不卡视频| 在线成人午夜影院| 视频一区国产视频| 欧美群妇大交群中文字幕| 亚洲最新视频在线观看| 色美美综合视频| 一二三区精品福利视频| 欧美系列一区二区| 午夜久久久久久久久久一区二区| 在线观看亚洲精品| 亚洲成年人网站在线观看| 欧美色手机在线观看| 午夜精品一区二区三区免费视频| 欧美亚洲图片小说| 日韩中文字幕一区二区三区| 制服视频三区第一页精品| 免费成人在线观看| 日韩视频免费观看高清完整版在线观看| 日日摸夜夜添夜夜添精品视频| 91精品国产入口在线| 久久国产夜色精品鲁鲁99| 26uuuu精品一区二区| 国产黄色精品视频| 亚洲欧洲日韩在线| 欧美色综合天天久久综合精品| 亚洲成a人片在线观看中文| 91精品黄色片免费大全| 久草中文综合在线| 国产精品乱人伦一区二区| 日本精品免费观看高清观看| 午夜伦欧美伦电影理论片| 精品国精品国产尤物美女| 成人午夜碰碰视频| 亚洲品质自拍视频| 欧美一区二区视频观看视频| 国产一区视频在线看| 国产精品久久久久久一区二区三区| 欧美色综合久久| 国产精品一区二区无线| 亚洲精品ww久久久久久p站| 日韩午夜在线观看| 99久久精品免费看|