在Item_Creat(具体我记不得了)事件里,对你连接的那一列作如下改变:
TableCell button = new TableCell();
button = e.items.cell[连接列的索引];
button.attributes.add("onclick","alert("hehe")");
TableCell button = new TableCell();
button = e.items.cell[连接列的索引];
button.attributes.add("onclick","alert("hehe")");
解决方案 »
- 求助
- 用.net做的应用程序,安装程序setup一定要在安装了.net framework才可安装?
- c#怎么读写Excel文件?
- vs2005中 asp.net c# udl连接文件放在哪里
- 关于csv问题
- vb中的exit sub到C#中应该怎么写?
- .net winform DataBinding一个小问题。回复人留email送.net2.0电子书(.chm格式):-)
- .NET WINDOWS 开发中如何查找一个控件,或者列出所有在WINFORM上的控件?
- 怎样在WebService中创建类型化数据集?
- 请教《c#程序设计》中的数据库问题
- 下面的代码是什么意思?(C# & XML)
- 为什么Microsoft Visual Studio .NET 文档(MSDN)中不能“打印主题和次主题”?
</ItemTemplate>这样就ok了