Exemplo n.º 1
0
        protected void btnStatus_Click(object sender, EventArgs e)
        {
            SimpleBL sbl = new SimpleBL();

            string[] cuS = sbl.GetSchedule(Phone.Value, Order.Value).Split("##".ToCharArray());
            if (cuS[6] == "1")
            {
                cuS[6] = "9AM";
            }
            else
            {
                cuS[6] = "1PM";
            }
            if (cuS[0] == "")
            {
                lblmessage.Text = "Sorry we don't have detail. Please check your input. :(";
            }
            else if (cuS[0] == "Completed")
            {
                lblmessage.Text = "Your Order has been completed.";
            }
            else
            {
                lblmessage.Text = "Technician " + cuS[0] + "(Mobile: " + cuS[2] + ") will come to your place on " + cuS[4] + " @ " + cuS[6] + ".";
            }

            ModalPopupExtender1.Show();
        }
Exemplo n.º 2
0
        protected void lnkOrder_Click(object sender, EventArgs e)
        {
            SimpleBL nOrder = new SimpleBL();
            //dinput.Visible = false;
            string[] cuS = nOrder.GetSchedule(txtPhone.Value, txtOrderNumber.Value).Split("##".ToCharArray());

            if (cuS[6] == "1")
                cuS[6] = "9AM";
            else
                cuS[6] = "1PM";
            //lblmessage.Text = "Thank you for Ordering FiOS. Technician " + cuS[0] + "(Mobile: " + cuS[2] + ") will come to your place on " + cuS[4] + " @ " + cuS[6] + ".";
        }
Exemplo n.º 3
0
        protected void btnStatus_Click(object sender, EventArgs e)
        {
            SimpleBL sbl = new SimpleBL();
            string[] cuS = sbl.GetSchedule(Phone.Value, Order.Value).Split("##".ToCharArray());
             if (cuS[6] == "1")
                cuS[6] = "9AM";
            else
                cuS[6] = "1PM";
                if(cuS[0] == "")
                    lblmessage.Text = "Sorry we don't have detail. Please check your input. :(";
                else if (cuS[0] == "Completed")
                    lblmessage.Text = "Your Order has been completed.";
                else
                    lblmessage.Text = "Technician " + cuS[0] + "(Mobile: " + cuS[2] + ") will come to your place on " + cuS[4] + " @ " + cuS[6] + ".";

            ModalPopupExtender1.Show();
        }
Exemplo n.º 4
0
        protected void lnkOrder_Click(object sender, EventArgs e)
        {
            SimpleBL nOrder = new SimpleBL();

            //dinput.Visible = false;
            string[] cuS = nOrder.GetSchedule(txtPhone.Value, txtOrderNumber.Value).Split("##".ToCharArray());

            if (cuS[6] == "1")
            {
                cuS[6] = "9AM";
            }
            else
            {
                cuS[6] = "1PM";
            }
            //lblmessage.Text = "Thank you for Ordering FiOS. Technician " + cuS[0] + "(Mobile: " + cuS[2] + ") will come to your place on " + cuS[4] + " @ " + cuS[6] + ".";
        }