GridView的查询字符串加密 [英] Query String encryption for a gridview

查看:124
本文介绍了GridView的查询字符串加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是Madhuri,我在项目中使用Gridview控件.我想将gridview值(Eg:JobId)传递给3层体系结构中的另一页.我如何为此编写代码.请帮我

Hi,
I am Madhuri,i am using Gridview control in my project. i want to pass the gridview value(Eg:JobId) to another page in 3-tier architecture. How I Can write a code for that.Plz Help me

推荐答案

尝试以这种方式找出答案.

Try to find out in this way.

<asp:TemplateField HeaderText="Details" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:HyperLink ID="hyp_Isfresher" NavigateUrl='<%#"~/Admin/OrderDetails.aspx?Order_Id="+Eval("JobId") %>'

Text="View" runat="server"></asp:HyperLink>
</ItemTemplate>
 </asp:TemplateField>


这篇关于GridView的查询字符串加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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