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
<a href="View.aspx?Id=<%# Eval("MaId") %>"></a>
- Response.Redirect("View.aspx?Id="+ HttpContext.Current.Request.QueryString["MaId"].ToString());
-
-
- nd this also not working
- Response.Redirect("View.aspx?Id="+ Eval("MaId") );
please help