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

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - 石牌村夫

oracle数据库中sql语句性能提升之to_char改造 类似爱情 UpdatePanel里面弹出确认按纽 JS实现标签页选中 - 石牌村夫 - 博客园 按纽弹出确认框代码 - 石牌村夫 - 博客园 把oracle表进行整理 ORA-01036: 非法的变量名/编号 WinForm程序启动时不显示主窗体 oracle里面where的条件及null值的判断 treeview显示文件夹目录 FCKeditor換表情--洋蔥頭(转) 我的十一线路图 页面延时跳转 - 石牌村夫 - 博客园 C# 调用外部命令行程序 夜难眠 关于人品一二事 弹窗返回值 - 石牌村夫 - 博客园 每一份生存的背后都是汗水 小悟一篇
repeater内按纽值的获取 - 石牌村夫 - 博客园
石牌村夫 · 2009-11-30 · via 博客园 - 石牌村夫

前台代码

<asp:Repeater ID="rptRightItemList" runat="server">
                                            
<ItemTemplate>
                                                
<div>
                                                    
<%#Eval("displayname")%></div>
                                                
<asp:Panel ID="plSubStoreLimite" runat="server" onmousemove="showBorder(this)" onmouseout="notShowBorder(this)">
                                                    
<table cellpadding="0" cellspacing="0">
                                                        
<tr>
                                                            
<td style="padding-left: 5px">
                                                                
<asp:Label ID="labSubStoreLimite" runat="server" Text='<%# Eval("displayname") %>'
                                                                    ForeColor
="#0066FF"></asp:Label>
                                                            
</td>
                                                            
<td style="padding-left: 5px">
                                                                
<asp:ImageButton ID="imgbtnDelRight" runat="server" ImageUrl="../images/delButtom.gif"
                                                                    CssClass
="delButtomImg" OnClientClick="return confirm('确认删除?')" OnClick="imgbtnDelRight_OnClick" CommandArgument='<%#Eval("id") %>' />
                                                                
                                                            
</td>
                                                        
</tr>
                                                    
</table>
                                                
</asp:Panel>
                                            
</ItemTemplate>
                                        
</asp:Repeater>

后台代码

        protected void imgbtnDelRight_OnClick(object sender, EventArgs e)
        {
            ImageButton imgbtnDelRight 
= (ImageButton)sender;

            Tdep_Right daRight 

= new Tdep_Right();
            
if (!daRight.Delete(int.Parse(imgbtnDelRight.CommandArgument)))
            {
                Alert(
"删除失败");
                
return;
            }
            Alert(
"删除成功");
        }