hi Jorge and list

I'm a beginner with Mono but working in MS is really sample, just try this:

string myHiddenPostedValue = Request.Form["myHidden"].ToString();

Another aproach:

string myHiddenPostedValue = "";

try
{
    string myHiddenPostedValue = Request.Form["myHidden"].ToString();
}
// this catch do nothing
catch(Exception ex) {}

or this:

if (Request.Form["myHidden"] != null)
{
    string myHiddenPostedValue = Request.Form["myHidden"].ToString();
}

Jose Luis Garcia(Josus)

----- Original Message ----- 
From: "Jorge C" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 12:28 AM
Subject: [Mono-list] Hidden variables


> Hi you guys:
> 
> How I obtain the hidden variables that they are sending to me from
> another page?
> 
> For example, in HTML I send of this form:
> 
> -----------------------------------------------------------
> <form action="obtain.aspx" method="post">
> <input type=hidden id="myhidden" value="anything">
> -----------------------------------------------------------
> 
> How I obtain this variable (myhidden) in ASPX page?
> 
> Thank you very much by its attention and help.
> 
> ------------------------
> --      Jorge C.      --
> -- [EMAIL PROTECTED] --
> ------------------------
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to