protected void lnkOrder_Click(object sender, EventArgs e) { if (txtPhone.Value == "" || txtEmail.Value == "" || txtZip.Value == "") { lblmessage.Text = "Please enter all the information to procees!"; } else { SimpleBL nOrder = new SimpleBL(); int res = nOrder.newOrder(txtPhone.Value, txtEmail.Value, txtZip.Value); string[] cuS = nOrder.ScheduleOrder(res, txtZip.Value).Split("##".ToCharArray()); if (cuS[6] == "1") { cuS[6] = "9AM"; } else { cuS[6] = "1PM"; } if (cuS[0] == "") { lblmessage.Text = "Sorry we are not covering your location. :("; } else { lblmessage.Text = "Thank you for Ordering FiOS - Order# " + cuS[8] + ". Technician " + cuS[0] + "(Mobile: " + cuS[2] + ") will come to your place on " + cuS[4] + " @ " + cuS[6] + "."; } } ModalPopupExtender1.Show(); }
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(); }
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] + "."; }
protected void lnkOrder_Click(object sender, EventArgs e) { SimpleBL nOrder = new SimpleBL(); int res = nOrder.newOrder(txtPhone.Value, txtEmail.Value, txtZip.Value); string[] cuS = nOrder.ScheduleOrder(res, txtZip.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] + "."; }
protected void lnkOrder_Click(object sender, EventArgs e) { SimpleBL nOrder = new SimpleBL(); int res = nOrder.newOrder(txtPhone.Value, txtEmail.Value, txtZip.Value); string[] cuS = nOrder.ScheduleOrder(res, txtZip.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] + "."; }
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(); }
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] + "."; }
protected void lnkOrder_Click(object sender, EventArgs e) { if (txtPhone.Value == "" || txtEmail.Value == "" || txtZip.Value == "") lblmessage.Text = "Please enter all the information to procees!"; else { SimpleBL nOrder = new SimpleBL(); int res = nOrder.newOrder(txtPhone.Value, txtEmail.Value, txtZip.Value); string[] cuS = nOrder.ScheduleOrder(res, txtZip.Value).Split("##".ToCharArray()); if (cuS[6] == "1") cuS[6] = "9AM"; else cuS[6] = "1PM"; if(cuS[0] == "") lblmessage.Text = "Sorry we are not covering your location. :("; else lblmessage.Text = "Thank you for Ordering FiOS - Order# " + cuS[8] + ". Technician " + cuS[0] + "(Mobile: " + cuS[2] + ") will come to your place on " + cuS[4] + " @ " + cuS[6] + "."; } ModalPopupExtender1.Show(); }