
I want to access my HTML input Text-type text box in my backend c# code. When i does it return NULL value.What i have done yet:
1.string un = Request.Form["emailBox"];
2. string unemailBox.Value
All time it, return NULL Value.

I want to access my HTML input Text-type text box in my backend c# code. When i does it return NULL value.Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest UserRank #259 · 9.8K reputationPosted Jul 8, 2014, 6:43 PM EDT
twitter @sumitjolly
Pradeep ShetRank #595 · 4K reputationPosted Jul 8, 2014, 10:48 PM EDT
Abhishek Kumar RaviRank #251 · 10K reputationPosted Jul 9, 2014, 11:06 AM EDT
Abhishek Kumar RaviRank #251 · 10K reputationPosted Jul 9, 2014, 11:16 AM EDT
Anupam SinghRank #643 · 3.7K reputationPosted Jul 9, 2014, 8:37 PM EDT
Share your complete source code .
If you are using html controls then you must specify post action explicitly.
Pradeep ShetRank #595 · 4K reputationPosted Jul 11, 2014, 10:38 AM EDT
It depends how is your page designed,if you have a masterpage the contentplaceholderid would be prefixed before textbox name. If you have a panel within which your text box is placed the panelid would be added. Better if possible share your code. It will give a better idea.