资源简介
有关医院在线预约系统的设计,关于网站的设计布局以及系统的细节设计,
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class index : System.Web.UI.Page
{
protected void Page_Load(object sender EventArgs e)
{
opendata.chkLogin();
if (!IsPostBack)
{
bing();
}
}
void bing()
{
HttpCookie ck = Request.Cookies[“user“];
if (ck != null)
{
int kefu = Int32.Parse(ck[“uid“].ToString());
DataTable dt=new DataTable();
dt=opendata.sqltable(“select top 1 rnamemanagement_id from admin_user where id=“ + kefu);
string rname=dt.Rows[0][0].ToString();
string management=opendata.isstr(“select top 1 title from management where id=“+dt.Rows[0][1].ToString());
Literal1.Text =“yle=‘color:#ff0000‘>“+rname + “(身份:“ + management + “)“;
string sdate = DateTime.Now.ToShortDateString().ToString();
string edate = DateTime.Now.AddDays(1).ToShortDateString();
string zdate = DateTime.Now.AddDays(-1).ToShortDateString().ToString();
string by = DateTime.Now.Year + “-“ + DateTime.Now.Month + “-1“;
string sy = DateTime.Now.Year + “-“ + DateTime.Now.AddMonths(-1).Month + “-1“;
string sedate = DateTime.Now.AddMonths(-1).AddDays(1).ToShortDateString();
Literal2.Text = opendata.ishava(“select count(id) from patient where addtime>=#“ + sdate + “# and addtime<#“ + edate + “#“);
Literal3.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + sdate + “# and p_time<#“ + edate + “#“);
Literal4.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + sdate + “# and p_time<#“ + edate + “# and p_type=1“);
Literal5.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + sdate + “# and p_time<#“ + edate + “# and p_type<>1“);
Literal6.Text = opendata.ishava(“select count(id) from patient where addtime>=#“ + zdate + “# and addtime<#“ + sdate + “#“);
Literal7.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + zdate + “# and p_time<#“ + sdate + “#“);
Literal8.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + zdate + “# and p_time<#“ + sdate + “# and p_type=1“);
Literal9.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + zdate + “# and p_time<#“ + sdate + “# and p_type<>1“);
Literal10.Text = opendata.ishava(“select count(id) from patient where addtime>=#“ + by + “# and addtime<#“ + edate + “#“);
Literal11.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + by + “# and p_time<#“ + edate + “#“);
Literal12.Text = opendata.ishava(“select count(id) from patient where p_time>=#“ + by + “# and p_time<#“ + edate + “# and p
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2559 2012-07-23 09:28 51Aspx源码必读.txt
文件 4945 2012-07-23 09:28 from.gif
文件 11386 2012-07-23 09:28 index.aspx
文件 7520 2012-07-23 09:28 index.aspx.cs
文件 1561 2012-07-23 09:28 left.aspx
文件 256 2012-07-23 09:28 left.aspx.cs
文件 1502 2012-07-23 09:28 login.aspx
文件 2011 2012-07-23 09:28 login.aspx.cs
文件 4102 2012-07-23 09:28 right.aspx
文件 257 2012-07-23 09:28 right.aspx.cs
文件 187 2012-07-23 09:28 sql.txt
文件 520 2012-07-23 09:28 test.aspx
文件 1904 2012-07-23 09:28 test.aspx.cs
文件 977 2012-07-23 09:28 top.ascx
文件 596 2012-07-23 09:28 top.ascx.cs
文件 8675 2012-07-23 09:28 tree.html
文件 611 2012-07-23 09:28 Web.config
文件 123 2012-07-23 09:28 最新Asp.Net源码下载.url
文件 3591 2012-07-23 09:28 admin\index.aspx
文件 257 2012-07-23 09:28 admin\index.aspx.cs
文件 1937 2012-07-23 09:28 admin\left.aspx
文件 256 2012-07-23 09:28 admin\left.aspx.cs
文件 3936 2012-07-23 09:28 admin\management.aspx
文件 2386 2012-07-23 09:28 admin\management.aspx.cs
文件 6623 2012-07-23 09:28 admin\tab.aspx
文件 3657 2012-07-23 09:28 admin\tab.aspx.cs
文件 8307 2012-07-23 09:28 admin\user.aspx
文件 5757 2012-07-23 09:28 admin\user.aspx.cs
文件 5023 2012-07-23 09:28 Advisory\add.aspx
文件 4405 2012-07-23 09:28 Advisory\add.aspx.cs
文件 3553 2012-07-23 09:28 Advisory\index.aspx
............此处省略219个文件信息
相关资源
- 易语言取微云数据V1源码易语言取微云
- 基于STM32F4x9的LCD显示
- 易语言Excel多表对应处理源码
- 易语言取word打开、另存为对话框窗口
- 易语言EXCEL另存为CSV文件源码
- delphi百度地图源码
- 易语言EMS快递查询源码
- 易语言快递查询源码
- 易语言查询79种快递源码
- 低功耗移动电源系统硬件电路
- 具有可编程环路补偿功能高密度电源
- FPGA系统中有源电容放电电路设计需注
- 便携产品电源芯片的设计技巧
- 一种基于LM3150 Buck型开关电源设计.p
- 基于BuckBoost拓扑的数字DCDC变换器设计
- 基于Boost 型变换器的DC/DC 可调电源设
- 工程师经验分享:DCDC模块电源选择参
- dcdc电源模块并联均流
- dcdc电源模块安装图解
- DCDC电源模块待机时的损耗都耗在了哪
- 一种智能大功率直流电源的设计与实
- 易语言搜搜mp3源码
- 易语言迅雷补丁源码
- 迅雷敏感资源限制解除小工具.zip
- 易语言高仿迅雷5安装包源码
- Git汉化资源
- bootstrap demo 源码大全
- Xilinx FPGA底层资源架构与设计规范
- springboot整合RabbitMQ实现延时队列的两
- 关于Spring MVC项目maven中通过fileupload上
评论
共有 条评论