16,717
社区成员
发帖
与我相关
我的任务
分享
Dim i As Integer
i = MsgBox("更新?", MsgBoxStyle.OkCancel)
If i = vbCancel Then
'结束操作
Return
End If
'更新操作
MsgBox("开始更新")
if (confirm("数据已经存在,需要修改吗?"))
{
// 跳转到修改页面
window.location = "modify.aspx?id=" + myid;
}
else
{
// 跳转到增加页面
window.location = "add.aspx";
}
if (this.hideForMail.Value == "NO")
{
if ((bool)ViewState["ISHASBEENSEND"])
{
CommonBLL.msgBox("<script language='javascript'>if(confirm('this booking has been sent to carrier ! send again?')){document.getElementById('hideForMail').value='YES';document.getElementById('BtnMailTo').click();}</script>", this);
// return;
}
else
{
}
}
if (this.hideForMail.Value == "YES")
{
}