TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Joma Rajab
NA
110
51.3k
how to pass integer parameter to query string
Jul 27 2016 10:39 PM
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
Reply
Answers (
3
)
check box list in gridview
checkbox checked item add another list box c#