protected void BtnDelete_Click(object sender, EventArgs e) { //here we delete the unwaned orders from transaction-details,order-details,order-list// DeleteTransaction(); DeleteOrderDetails(); DeleteOrderList(); TxtEmail.Text = ""; TxtName.Text = ""; TxtPhone.Text = ""; TxtAmount.Text = ""; TxtDate.Text = ""; TxtTime.Text = ""; TxtStatus.Text = ""; DdlOrder.ClearSelection(); }
protected void BtnStatus_Click(object sender, EventArgs e) { //here we update the delivery statuswhich was pending// StatusUpdate(); PanelAlert.Visible = true; SendAcknowledge(); TxtEmail.Text = ""; TxtName.Text = ""; TxtPhone.Text = ""; TxtAmount.Text = ""; TxtDate.Text = ""; TxtTime.Text = ""; TxtStatus.Text = ""; DdlOrder.ClearSelection(); }