惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Vercel News
Vercel News
F
Fortinet All Blogs
B
Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
月光博客
月光博客

博客园 - BigKiteasdasd

招聘软件开发 javascript常用验证(转载) 人生很重要的一个开始 NStarfaiNet框架类关系简图 NStarfaiNet框架性能测试结果 NStarfaiNet框架代码生成器Version1。1 NStarfaiNet框架代码生成器 NstarfaiNet框架日志 NStarfaiNet 框架的使用示例(三) NStarfaiNet 框架的使用示例(二) NStarfaiNet 框架的使用示例(一) NStarfaiNet的SQL Map文件示范(maps/sample.xml) NStarfaiNet 的配置(dao_maps_config.config) NStarfaiNet 框架 iBatis.Net ParameterMap 动态添加附件上传按钮 常用javascript脚本 链接处变换色彩 学习配置篇1
怎样在C#中实现confirm()
BigKiteasdasd · 2006-06-15 · via 博客园 - BigKiteasdasd

privatevoiddgDataGrid_ItemDataBound(objectsender,System.Web.UI.WebControls.DataGridItemEventArgse)
{
//如果删除所在行的索引和要删除的行的索引一致
if(e.Item.ItemType!=ListItemType.Header&&e.Item.ItemType!=ListItemType.Footer)
{
//点删除按钮时触发确认对话框
e.Item.Cells[DELETECOLUMN].Attributes.Add("onclick","returnconfirm('您确认删除此项么?');");
}
}

[DELETECOLUMN]是索引


posted @ 2006-06-15 22:24  BigKiteasdasd  阅读(2769)  评论(0)    收藏  举报