Tech
Forums
Jobs
Books
Events
Live
Learn
More
Training
Interviews
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
how to pass integer parameter to query string
Joma Rajab
Jul 27 2016 10:39 PM
328
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
check box list in gridview
checkbox checked item add another list box c#