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 ;)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Mar 14, 2013, 11:37 PM
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.
Satyapriya NayakPosted Mar 14, 2013, 10:08 AM