コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Referenc.WebService1 web = new Referenc.WebService1();
            GridView1.DataSource = web.SelectDep();
            GridView1.DataBind();

            times.Time t = new times.Time();
            Label5.Text = t.GetServerLocalTime().ToString();
        }
コード例 #2
0
ファイル: Print.aspx.cs プロジェクト: ErmiraR/MedicalCare
        protected void Page_Load(object sender, EventArgs e)
        {
            Label1.Text = Request.QueryString["Name"].ToString() + " " + Request.QueryString["Surname"].ToString();
            Label2.Text = Request.QueryString["Email"].ToString();
            Label3.Text = Request.QueryString["Number"].ToString();
            Label4.Text = Request.QueryString["Data"].ToString();
            Label5.Text = Request.QueryString["Ora"].ToString();
            Label6.Text = Request.QueryString["Therapy"].ToString();
            Label7.Text = Session["Name"].ToString() + " - " + Session["Departament"].ToString();

            times.Time t = new times.Time();
            Label11.Text = t.GetServerLocalTime().ToString();
        }