ListView到FormView的数据显示 [英] data display of listview to formview

查看:128
本文介绍了ListView到FormView的数据显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在default.aspx中有一个listview.
(id,image)这些字段位于项目模板中.(正在运行).

我在default1.aspx中有一个formview.
(id,image,description)这些字段位于项目模板中.(它也可以使用).


我的问题是当我单击image(default.aspx)时,然后我希望使用id明智搜索的default1.aspx.

hi all,

i have one listview in default.aspx.
(id,image)these fields are in item templates.(it is working).

i have one formview in default1.aspx.
(id,image,description)these fields are in item templates.(it is also working).


my question is when i click on image(default.aspx), then i want default1.aspx with id wise searching. how can i write code.

推荐答案

将图像链接到页面,然后将值传递给URL上的页面以进行搜索.在URL值上进行搜索也会使您的搜索页面可添加书签.

不过,请不要为您的页面提供非愚蠢的名称.
Make your image link to the page and pass a value to the page on the URL to get it to do the search. Doing search on the URL value also makes your search page bookmarkable.

Do give your pages non stupid names, though.


这篇关于ListView到FormView的数据显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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