In Asp.Net value can be access in this way as well
same like in asp 3.
col=Request.Form["field1"]
the brases we use in asp and asp.net r different
that's it..
i hope this works fine..
--- Arindam <[EMAIL PROTECTED]> wrote:
> No Mark
> How can i write strName = txtName.Text in the second
> page .?
> it will throgh an error
>
> Mark E <[EMAIL PROTECTED]> wrote:
> Arindam,
>
> If you are using server-side controls, get the
> values by accessing the text property of the
> control.
>
> For example, you have the following form & textbox:
>
>
>
>
>
> After the form posts, you can access the text
> property of the textbox like this:
>
> strName = txtName.Text
>
> Mark
>
> Arindam wrote:
>
> Hi
> A simple question
>
> in asp 3 when u receive some value , we write
> the request.form("fld1")
> And
> the request.querystring("fld1")
>
> but in asp.net if i want to receive value when
>
> i use NameValueCollection. like
> NameValueCollection col;
> col=Request.Form;
>
> col.GetVal(0)
> col.GetVal(1)...so on.
>
> but I am not getting the value in next page.
>
> What is the proper way to write ?
> Thanksin advance.
>
>
>
>
> Regards
>
> Arindam
>
>
>
> Yahoo! India Matrimony: Find your partner online.
>
> [Non-text portions of this message have been
> removed]
>
>
> Yahoo! Groups SponsorADVERTISEMENT
>
>
> ---------------------------------
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo!
> Terms of Service.
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger
>
> [Non-text portions of this message have been
> removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> Regards
>
> Arindam
>
>
>
> Yahoo! India Matrimony: Find your partner online.
>
> [Non-text portions of this message have been
> removed]
>
>
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/