要从数据库查看国际剑联吗? [英] want to view the fie from the database?
本文介绍了要从数据库查看国际剑联吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨...
我已将文件路径存储在数据库中...
我创建了一个gridview ...
在那个网格视图中,我使用了view select命令来查看文件...
我想在视图链接中从数据库中获取路径...
是这种可能的查看方式还是其他任何方式...
hi...
i have stored file path in database...
i create a gridview...
in that grid view i used view select command to see the file...
i want to fetch the path from database in the view link...
is this possible way to view or any other way...
推荐答案
为查看类似CommandArgument的视图"提供路径
give path to View Like CommandArgument
<asp:templatefield headertext="">
<itemtemplate>
<asp:linkbutton id="lbView" runat="server" text="View">
CommandName="view"
CommandArgument='<%#Eval("FilePath") %>' />
</itemtemplate>
这篇关于要从数据库查看国际剑联吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文