How to retrive datafield from .aspx page?
sir, how can i access data from .aspx page to aspx.cs page like email id and username from aspx page to aspx.cs?? help me on this thanks in advance ;)
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Mar 14, 2013, 6:08 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 14, 2013, 7:37 PM EDT
correct me,
you want to access control's data of aspx in to aspx.cs.
if it is simple server post back than you can access via .Text method
string s = TextBox1.Text;
if you use Page post method then you can access it via Request.Params
string s = Request.Params["TextBox1"].Tostring();
hope this will help you.