onclick="return confirm('确定删除该条记录?')"

lequery lequery 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
这样写有问题吗?我点取消怎么也提交了?
...全文

相关推荐

ASP.NET程序中常用代码汇总

1. 打开新的窗口并传送参数: //传送参数: response.write(“<script>window.open(‘*.aspx?id=”+this.DropDownList1.SelectIndex+”&id1=”++”‘)</script>”)   //接收参数: string a = Request.QueryString(“id”); string b = Request.QueryString(“id1”);2.为按钮添加对话框 Button1.Attributes.Add(“onclick”,”return confirm(‘确认?’)”); button.attribute

weixin_38697274

ASP.NET程序中常用的三十三种代码

ASP.NET程序中常用的三十三种代码,在工作学习中会非常经常性地使用。

computer110_okok

.NET常用功能和代码

response.write("window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')")

wt854143108

ASP.NET常用代码

1. 打开新的窗口并传送参数: 传送参数: response.write("window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')") 接收参数: string a = Request.QueryString("id"); string b = Request.QueryString("id1"); 2.为按钮添加对话框 传送参数: response.write("window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')") 接收参数: string a = Request.QueryString("id"); string b = Request.QueryString("id1"); 2.为按钮添加对话框 Button1.Attributes.Add("onclick","return confirm('确认?')"); button.attributes.add("onclick","if(confirm('are you sure...?')){return true;}else{return false;}") 3.删除表格选定记录 int intEmpID = (int)MyDataGrid.DataKeys[e.Item.ItemIndex]; string deleteCmd = "DELETE from Employee where emp_id = " + intEmpID.ToString() ……………………

raydenzhang

ASP.NET常用源代码

传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数: string a = Request.QueryString("id"); string b = Request.QueryString("id1");

ydc0647122
评论 11
收藏 已收藏
分享
返回顶部
lequery
JavaScript 87,984 成员 224,681 内容