Click here to Skip to main content
13,143,985 members (32,796 online)
Rate this:
Please Sign up or sign in to vote.
See more:
hi all , i have Q :
i used this this method to Return my Value

but i dont know how can I Get this value ,,
should i use this ,
plz help me Guys ! TnQ
Posted 3-Dec-12 4:43am
Updated 3-Dec-12 10:33am
ryanb31 3-Dec-12 11:28am
Response.Write is writing the value to the response, which usually will mean that it will be printed on the users screen. Can you explain better what you are trying to do because this doesn't make much sense?
Arun1990 3-Dec-12 12:57pm
I don't understand the meaning of your question,plz explain it in proper way
The question just makes no sense. Probably it is based on some misconception; but we don't know what was your thinking. A client sends HTTP request and received HTTP response, as defined by HTTP protocol. Learn about it. If a Web browser does it, you don't have to write any code to "get this value"; it is already done. If you need to write some client-side application other then a browser, ask about it, I'll tell you how to do it...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Response.Write just ouputs a literal string to the Response Stream going to the client.
If you need this value to come back through the Request Stream then you'll need to add it something like this into your html and within your form so that you can pull it from the form data on the server later.
<input id="YourId" type="hidden" value="Your value goes here" />

Then in your code behind you can see this value like this
string yourValue = YourId.Value;

yourValue will equal "Your value goes here"...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 3 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100