在链接的帮助下更改数据库
it1352
帮助1人
问题说明
嗨 我有5个超链接(使用& lt; a href& gt;通过C#代码1.e创建),用于gridview中的每个记录,这些记录都重定向到某些页面.但我想再添加1个超链接,以删除该特定记录并刷新在gridview中显示新数据的页面.
据我所知,我们无法在超链接上触发任何事件.我必须为此使用linkbutton,但是如何使用黑白超链接的linkbutton并执行该过程.
非常紧急....任何人都可以解决这个问题....
Thanxs
Hi I have 5 hyperlinks (created throu C# code 1.e using <a href>) for each record in a gridview which redirect to some pages. but i want to add 1 more hyperlink which deletes that particular record and refresh the page showing new data in the gridview.
As i know we cant fire any event on hyperlink. i have to use linkbutton for that but how can i use linkbutton b/w the hyperlink and perform the process.
Its very urgent....can anybody solve this problem....
Thanxs
正确答案
#1
错误.您可以使用链接按钮在超链接上触发事件.最好不要使用事件,而是链接到具有查询字符串值的URL,该查询字符串值告诉您的页面删除记录.
请不要告诉我们这很紧急.不是.承担您无法完成的任务,以及无法满足您的截止日期,这不是我们的问题.我们免费为您提供帮助.当我们提供帮助时,您会得到帮助.
Wrong. You can use a linkbutton to fire an event on a hyperlink. You are better off not using events tho, and instead linking to a URL that has query string values that tell your page to delete the record.
Please don''t tell us that it''s urgent. It''s not. Your taking on tasks you can''t do and having a deadline that you can''t meet, is not our problem. We help you for free. You''ll get help when we give it.
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcgjhfb
系列文章
更多
同类精品
更多
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
复制文件夹/文件而不修改属性?
it1352 07-15