Gridview删除时弹出小对话框
来源:互联网 发布:滑动图形验证码java 编辑:程序博客网 时间:2024/05/17 01:49
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType != DataControlRowType.DataRow)
{
return;
}
LinkButton link = e.Row.Cells[6].Controls[0] as LinkButton;
//HyperLink lin = e.Row.Cells[1].Controls[0] as HyperLink;
string sname = e.Row.Cells[1].Text;
if (link != null)
{
link.Attributes.Add("onclick","return confirm('确定要删除"+sname+"吗?');");
}
}
}
- Gridview删除时弹出小对话框
- GridView实现删除时弹出确认对话框
- GridView实现删除时弹出确认对话框
- GridView删除时弹出确认对话框
- GridView实现删除时弹出确认对话框
- 8.GridView实现删除时弹出确认对话框:
- GridView那点事之【删除时弹出确认对话框】
- .net2.0 GRIDVIEW弹出删除对话框
- GridView点击删除之后弹出对话框
- 删除时弹出确认对话框
- 在GridView中,点击commandFiled列 删除指定行数据时,弹出询问对话框
- asp.net GridView 删除时弹出确认对话框(包括内容提示)
- GridView批量删除记录、全选及弹出确认对话框(引用)
- 删除GridView控件行信息弹出确认对话框
- 实现对gridview删除行时弹出确认对话框的方法
- GridView批量删除记录、全选及弹出确认对话框
- GridView批量删除记录、全选及弹出确认对话框
- GridView删除时弹出确定按钮
- android 源码分析流程(一) init.c
- 智力测试题
- Vmware下Ubuntu自动识别U盘
- 手机不支持add_on属性的解决方法......defy
- 卫星术语-航迹
- Gridview删除时弹出小对话框
- JOJ1894:Ones
- web 动起来
- 对GridView简单的使用
- C++ 中使用 pair 和 make_pair 在 vector
- Ubuntu命令行模式下中文字符乱码的解决
- GridView 绑定的删除按钮如何实现提示信息“你要删除***人吗?”
- 如何在Ubuntu(debian)上安装Snort入侵检测系统
- keil C DLL