在网格视图中将字段绑定到另一个字段 [英] Bind a field to another in grid view

查看:113
本文介绍了在网格视图中将字段绑定到另一个字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在显示一个网格视图,如下所示.现在,我希望ID与名称字段绑定在一起,这样,当我单击名称链接时,它将显示员工的详细信息.


姓名地址年龄

ABC sdsd 45
XYZ asdsd 34


当我单击ABC或XYZ时,我必须显示详细信息.因此,为了做到这一点,我必须在名称"列上绑定(id).我该怎么做?

I am displaying a grid view as shown below. Now i want Id to be bound with name field so that i when i click name link it will display details of the employees.


Name Address Age

ABC sdsd 45
XYZ asdsd 34


When i click on ABC or XYZ i must display details. So inorder to do that i must bind (id) on the Name column..How can i do that???

推荐答案

请看以下链接:
http://www.ezzylearning.com/tutorial.aspx?tid=8093456 [ ^ ]
http://www.youtube.com/watch?v=dIKN9vbbUIw&feature=youtu.be [^ ]
http://forums.asp.net/t/1001135.aspx [
Have a look at following links:
http://www.ezzylearning.com/tutorial.aspx?tid=8093456[^]
http://www.youtube.com/watch?v=dIKN9vbbUIw&feature=youtu.be[^]
http://forums.asp.net/t/1001135.aspx[^]


这篇关于在网格视图中将字段绑定到另一个字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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