I need to pass int data to Id when I redirect to the page but the id is being read as string when I put it between " " and I tired the code below but I got error conversion failed when converting the varchar value to data type int
when I did it in asp.net tag it works fine
- Response.Redirect("View.aspx?Id="+ HttpContext.Current.Request.QueryString["MaId"].ToString());
- nd this also not working
- Response.Redirect("View.aspx?Id="+ Eval("MaId") );
Nitin SontakkeRank #264 · 9.6K reputationPosted Jul 27, 2016, 7:29 PM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Jul 27, 2016, 7:43 PM EDT
Joma Rajab125 reputationPosted Jul 28, 2016, 5:39 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts