自动创建.aspx [英] Create .aspx automatically

查看:98
本文介绍了自动创建.aspx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

各个机构,



我有gridview,它列出了数据库中的所有用户名及其ID。我想向gridview添加新字段,例如链接按钮或超链接,当我点击它时打开新的网页表单(.aspx页面),其中包含与他的电话号码,位置相同的用户ID的额外信息。(Ps:i)在数据库中有包含额外信息的表格。





关注

解决方案





查看此处的示例并尝试它

http://www.aspsnippets.com/Articles/How-to-bind -and-pass-query-string-in-HyperLink-in-GridView-in-ASPNet.aspx [ ^ ]

这应该work!


参考:主/细节过滤Acr oss两页 [ ^ ]

hi every body ,

i have gridview that lists all users names and their ids from data base. i want to add new field to gridview such as linked button or hyperlink that when i click it open new web form (.aspx page) that contained extra information to the same user id like his phone number, location ..etc(Ps: i had table in data base that contains extra information).


Regards

解决方案

Hi,

Look at the example here and try it
http://www.aspsnippets.com/Articles/How-to-bind-and-pass-query-string-in-HyperLink-in-GridView-in-ASPNet.aspx[^]
This should work !


Refer: Master/Detail Filtering Across Two Pages[^]


这篇关于自动创建.aspx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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