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
Zubair Munir
1.2k
538
35.8k
anyone explain this linkbutton code working step by step
Apr 4 2018 3:35 PM
protected void LinkButton1_Click(object sender, EventArgs e)
{
var lb = (LinkButton)sender;
var row = (GridViewRow)lb.NamingContainer;
if(row!=null)
{
var lblid = row.FindControl("lblid") as Label;
int nid = Convert.ToInt32(lblid.Text);
Response.Redirect("Register.aspx?id=" +nid);
}
}
Reply
Answers (
2
)
Asp.net Mvc Insert
Global.asax --> Application_BeginRequest