Monday 26 August 2013

Retrieve Data Value which is transfer from one form to another by post method in asp.net

We can access form post value using Request.Form["parametername"] and the code are given below have a look on this topic and try this.......

if(Request.Form !=null)
{
    string name = Request.Form["name"].ToString();
    string email = Request.Form["email"].ToString();
    string mobile = Request.Form["mobile"].ToString();
    string city = Request.Form["city"].ToString();
    string state = Request.Form["state"].ToString();
}

No comments:

Post a Comment