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 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 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(); }