如何在同一页面中将值从aspx.cs传递给aspx [英] how to pass value from aspx.cs to aspx in same page

查看:209
本文介绍了如何在同一页面中将值从aspx.cs传递给aspx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我是c#和.Net framework的新手。所以如果我从urside得到一些帮助会很好..

我想通过从aspx.cs文件到.aspx文件的URL以及显示与此URL相关的页面。

< iframe scrolling =" auto" ID = QUOT; RF" SRC ="<%#&NBSP; url%>" FRAMEBORDER =" 0"
    style =" width:100%; height:100%">

所以你们中的任何人都可以提供与此相关的代码吗?

将感谢你们..

thnx ..

Hi Friends,

I am new to c# and .Net framework.So It would be nice if I get some help from urside..

I wanted to pass a url from aspx.cs file to .aspx file and dispaly the page related to this url.

<iframe scrolling="auto" id="rf" src="<%#  url %>" frameborder="0"
    style="width:100%;height:100%">

So can anyone of u give the code related to this?

will be thankful to u..

thnx..

推荐答案

我认为你必须使用会话或隐藏字段。
ASP.NET论坛上发布你的问题。有asp.net专家可以帮助你。
I think you would have to use session or a hidden field instead.

But you should post your question on ASP.NET Forum. There asp.net experts can help you.


这篇关于如何在同一页面中将值从aspx.cs传递给aspx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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