如何在asp.net(c#)中将会话值从aspx传递给ascx? [英] how to pass session value from aspx to ascx in asp.net(c#)?

查看:67
本文介绍了如何在asp.net(c#)中将会话值从aspx传递给ascx?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



i需要帮助!!!



实际上我想要的aspx文件中的参数显示ascx文件的参数,



所以我为传递值创建会话,但我不知道如何将该会话值从aspx传递给ascx。(我想要显示价值)。



请帮帮我,急需:(如果需要密码我会发送参考



谢谢和最好的问候

G.renga

Hi friends,

i need help!!!

Actually parameters in aspx file i want to show that parameters to ascx file,

so i create session for pass value, but im not sure how to pass that session values from aspx to ascx.(i want to show that values).

Please help me, need urgent :( - if need code i will send for reference

thanks and best regards
G.renga

推荐答案

你可以在ascx页面上创建属性然后cotrols id.property您可以将值传递给ascx页面
you can create property on ascx page and then cotrols id.property you can pass the value to the ascx page


这篇关于如何在asp.net(c#)中将会话值从aspx传递给ascx?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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