protected void btnSave_Click(object sender, EventArgs e) { string status = "0"; if (rdoCloseOpen.SelectedValue.Equals("开启")) { status = "1"; } if (rdoReminderType.SelectedValue.Equals("付款提醒")) { if (SellersBLL.UpdateReminderUnConfirmType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } if (rdoReminderType.SelectedValue.Equals("催款提醒")) { if (SellersBLL.UpdateReminderUnPayType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } if (rdoReminderType.SelectedValue.Equals("发货提醒")) { if (SellersBLL.UpdateReminderShippingType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } if (rdoReminderType.SelectedValue.Equals("延迟发货提醒")) { if (SellersBLL.UpdateReminderDelayShipType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } if (rdoReminderType.SelectedValue.Equals("达到提醒")) { if (SellersBLL.UpdateReminderArrivedType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } if (rdoReminderType.SelectedValue.Equals("签收提醒")) { if (SellersBLL.UpdateReminderSignType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } if (rdoReminderType.SelectedValue.Equals("回款提醒")) { if (SellersBLL.UpdateReminderHuiZJType(txtNick.Text.Trim(), status)) { lbMsg.Text = "修改成功"; } } }