医院管理系统源代码
![医院管理系统源代码_第1页](https://file6.zhuangpeitu.com/fileroot6/2022-11/4/cac09194-3c74-4e26-9d6a-b3b177743d54/cac09194-3c74-4e26-9d6a-b3b177743d541.gif)
![医院管理系统源代码_第2页](/images/s.gif)
![医院管理系统源代码_第3页](/images/s.gif)
《医院管理系统源代码》由会员分享,可在线阅读,更多相关《医院管理系统源代码(34页珍藏版)》请在装配图网上搜索。
1、源代码登陆界面源代码: 用户请登录 注册用户 登录 用户名: 密码: 新用户请注册 用户名: 密码: 窗体发生代码: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 = 请输入用户名和密码; 主界面源代码: 院内通知 为进一步完善危重孕产妇的救治工作,保护母婴健康,维护社会与家庭的和谐,我局特制定了市危重孕产妇会诊、转诊工作原则与
5、处置流程,现下发给你们,并就进一步做好有关工作提出如下要求:加强组织管理,进一步聚焦“一高一低” 各级卫生行政部门和各有关医疗卫生单位要充分认识聚焦“一高一低”工作 出院信息登记页面源代码 .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; 添加药品信息 药品名称: 药品数量: 药品单价: 元 药品单位: 批文编号: 药品功效: 药品成份: 服用方法: 返回首页 窗体发生代码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; 修改药品信息 药品名称: 药品数量: 药品单价: 元 药品单位: 批文编号: 药品功效: 药品成份: 服用方法: 返回首页 查询药品信息页面源代码 .STYLE1 color: #FF0000body,td,th font-size: 9pt;body margin-left: 0px;margin-right: 0px;margin-bottom: 0px;margin-top: 0px; .style7 height: 22px; font-weight: bold; f
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。