醫(yī)院管理系統(tǒng)源代碼.doc_第1頁
醫(yī)院管理系統(tǒng)源代碼.doc_第2頁
醫(yī)院管理系統(tǒng)源代碼.doc_第3頁
醫(yī)院管理系統(tǒng)源代碼.doc_第4頁
醫(yī)院管理系統(tǒng)源代碼.doc_第5頁
已閱讀5頁,還剩29頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領

文檔簡介

1、源代碼登陸界面源代碼: 用戶請登錄 注冊用戶 登錄 用戶名: 密碼: 新用戶請注冊                                   用戶名: 密碼: 窗體發(fā)生代碼:using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Securi

2、ty;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;public partial class logn : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) Panel1.Visible = false; Panel2.Visible = false; protec

3、ted void LinkButton2_Click(object sender, EventArgs e) Panel1.Visible = true; Panel2.Visible = false; protected void LinkButton1_Click(object sender, EventArgs e) Panel1.Visible = false; Panel2.Visible = true; protected void Button1_Click(object sender, EventArgs e) if (TextBox5.Text = & TextBox6.Te

4、xt = ) Label1.Text = 歡迎你,登錄成功; else Label1.Text = 你輸入的用戶名錯誤或密碼錯誤,請重新輸入; protected void Button2_Click(object sender, EventArgs e) if (TextBox7.Text = & TextBox8.Text = ) Label2.Text = 歡迎你,注冊成功; else Label2.Text = 請輸入用戶名和密碼; 主界面源代碼:   院內(nèi)通知 為進一步完善危重孕產(chǎn)婦的救治工作,保護母嬰健康,維護社會與家庭的和諧,我局特制定了市危重孕產(chǎn)婦會診、轉(zhuǎn)診工作原則與

5、處置流程,現(xiàn)下發(fā)給你們,并就進一步做好有關(guān)工作提出如下要求:加強組織管理,進一步聚焦“一高一低” 各級衛(wèi)生行政部門和各有關(guān)醫(yī)療衛(wèi)生單位要充分認識聚焦“一高一低”工作 出院信息登記頁面源代碼 .STYLE1 color: #FF0000body,td,th font-size: 9pt;body margin-left: 0px;margin-right: 0px;margin-bottom: 0px;margin-top: 0px; .style7 height: 24px; font-size: large; font-weight: bold; text-align: center; co

6、lor: #FFFFFF; 出院信息登記   姓名:  性別:  年齡: 病房: 入院日期: 住院費:元            修改密碼頁面源代碼 .STYLE1 color: #FF0000body,td,th font-size: 9pt;body margin-left: 0px;margin-right: 0px;margin-bottom: 0px;margin-top: 0px; .style1 font-weight: bold; font-size: large; te

7、xt-align: center; color: #FFFFFF; .style2 text-align: center; 修改密碼 輸入修改的密碼     確認修改的密碼:         返回首頁 添加藥品頁面源代碼 .STYLE1 color: #FF0000body,td,th font-size: 9pt;body margin-left: 0px;margin-right: 0px;margin-bottom: 0px;margin-top: 0px; .style7 height:

8、 20px; font-size: large; font-weight: bold; color: #FFFFFF; text-align: center; 添加藥品信息 藥品名稱: 藥品數(shù)量: 藥品單價: 元 藥品單位: 批文編號: 藥品功效: 藥品成份: 服用方法:       返回首頁    窗體發(fā)生代碼using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using Sy

9、stem.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.SqlClient;public partial class MedicineAdd : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) protected void Button

10、1_Click(object sender, EventArgs e) string str = Data Source=LENOVO-PCSQLEXPRESS;Database=hospital;Integrated Security=True; string time = Convert.ToString(DateTime.Now.ToLongTimeString(); SqlConnection myConnection = new SqlConnection(str); myConnection.Open(); string sqlstr = insert into medicine

11、values( + this.MedicineName.Text + , + this.Count.Text + , + this.Price.Text + , + this.Unit.Text + , + this.ApprovalNumber.Text + , + this.Efficacy.Text + , + this.Ingredient.Text + , + this.Usage.Text + ); SqlCommand com = new SqlCommand(sqlstr, myConnection); com.ExecuteNonQuery(); Response.Write

12、(alert(恭喜您,添加藥品信息已成功!); 修改藥品信息頁面源代碼 .STYLE1 color: #FF0000body,td,th font-size: 9pt;body margin-left: 0px;margin-right: 0px;margin-bottom: 0px;margin-top: 0px; .style7 height: 20px; font-size: large; font-weight: bold; text-align: center; color: #FFFFFF; 修改藥品信息 藥品名稱: 藥品數(shù)量: 藥品單價: 元 藥品單位: 批文編號: 藥品功效: 藥品成份: 服用方法:   返回首頁  

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論