如何设置链接按钮以重定向到列表视图项中的另一个页面 [英] how to set linkbutton to redirect to another page in the listview items

查看:48
本文介绍了如何设置链接按钮以重定向到列表视图项中的另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用C#、. NET ...建立网站.
对于搜索结果,我使用列表视图显示了不同的项目.

现在我想在listview结果中的每个项目结果上添加一个链接按钮.如果我单击链接按钮重定向到其他页面.我在链接按钮中遇到问题.

I am making a website on C# , .NET ...
For search results i have used List view to show different items .

Now I want to add a link button on Each item result in the listview results.if i click on link button redirect to other page.i am facing problem in link button .

推荐答案

签出您的解决方案..!

在列表视图中使用LinkBut​​ton从数据库中选择项目
Check this out for your solution..!

Using LinkButton in a listview to select item from database


使用Gridview控件而不是ListBox控件.
您可以设置gridview列的链接
Use Gridview control instead of ListBox control .
You can set the link of gridview columns


这篇关于如何设置链接按钮以重定向到列表视图项中的另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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