hongyuniu

Whatever You Do, Do Your Best !

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
    Query页面用:Server.Transfer("ReceiveMoneyEdit.aspx?ID=" + id.ToString());转到ReceiveMoneyEdit页面,在ReceiveMoneyEdit页面用一下代码获取Query页面的值

    protected void Page_Load(object sender, EventArgs e)
    
{
        
if (!
Page.IsPostBack)
        
{
            ReceiveMoney_Query query;
            
if (Context.Handler is
 ReceiveMoney_Query)
            
{
                query 
=
 (ReceiveMoney_Query)Context.Handler;
                ViewState[
"StrFilte"=
 query.StrFilte;
                ViewState[
"CurrentInfo"=
 query.CurrentInfo;
            }

        }

    }

posted on 2008-06-30 14:47  CsharpFish  阅读(618)  评论(0编辑  收藏  举报