动态ASP.NET Gridview中的链接 [英] Link in dynamic ASP.NET Gridview

查看:83
本文介绍了动态ASP.NET Gridview中的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为动态绑定的列创建链接.所有单元都是动态绑定的.当我单击该链接时,它应该转到另一页.任何人都可以帮助我为这些动态列添加链接.
在此先谢谢您....

I wanna make link for columns which is dynamically binded. All cells are dynamically binded. When i click on that link it should go to another page.Can anyone plz help me for adding a link for those dynamic columns.
Thanks in Advance....

推荐答案

使用TemplateColumn并将LinkBut​​ton添加到模板中.
Use TemplateColumn and add LinkButton to the template.


您是否要从代码中添加gridview后面是什么?我不是在问绑定,而是要添加网格视图吗?是从设计视图还是从后面的代码?
Are you adding gridview from code behind?I am not asking about binding i meant how you are adding your gridview?From Design view or from code behind?


整个网格都是动态绑定的...那么我该怎么办它..?
the entire grid is dynamically binding...then how can i do it..?


这篇关于动态ASP.NET Gridview中的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆