[Mono-list] Hidden variables
Jorge C
jorge@uajms.edu.bo
Tue, 8 Jul 2003 10:15:07 -0400 (BOT)
Problema resuelto con:
string myHiddenPostedValue = Request.Form["myHidden"].ToString();
Muchas gracias, Jose Luis.
> 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" <jorge@uajms.edu.bo>
> To: <mono-list@lists.ximian.com>
> 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. --
>> -- jorge@uajms.edu.bo --
>> ------------------------
>>
>>
>>
>> _______________________________________________
>> Mono-list maillist - Mono-list@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
+-------------------------------+
| Jorge C. |
| Tarija - Bolivia - Sudamérica |
| jorge@uajms.edu.bo |
+-------------------------------+