資源簡介
有關醫院在線預約系統的設計,關于網站的設計布局以及系統的細節設計,

代碼片段和文件信息
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個文件信息
評論
共有 條評論