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
Sagar Godase
NA
7
466
command arguments
Dec 4 2016 3:28 PM
i write code to go one form to another in query string but it gives error that command args
please look up
protected void grdemplist_RowCommand(object sender, GridViewCommandEventArgs e)
{
string conString = System.Configuration.ConfigurationManager.ConnectionStrings["mydbconp"].ToString();
con = new SqlConnection(conString);
if (e.CommandName == "Edit")
{
con.Open();
Response.Redirect("EmployeeDetail.aspx?Id=" + e.CommandArgument);
}
}
Attachment:
EmployeeData.rar
Reply
Answers (
1
)
Solving this puzzle type
C code is compiling but not giving the desired output.