从链接按钮获取列值,在网格视图上单击 [英] Get the column values from link button click on grid view

查看:58
本文介绍了从链接按钮获取列值,在网格视图上单击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用gridview,并在其中放置了链接按钮.现在,在链接"按钮上,单击我想在gridview中获取选定行的值",然后将其分配给如何在C#中执行此操作?"中的导航的URL页文本框中? gridview的行数据绑定事件,您可以设置链接的URL.
这样,在单击链接时,您无需执行任何操作.


Hi,

I am using gridview and in that I placed link button. Now on Link button click I want to get values of selected row in gridview and assign to navigated url page text boxes in How can I do this in C#?

解决方案

In the row data bound event of the gridview, you set the url of the link.
So that on click of the link you need not do any thing.


这篇关于从链接按钮获取列值,在网格视图上单击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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