Hyperlink in Grid View
-
I have the following hyperlink in my GridView. I want two values to be passed on to another aspx page when I click on hyperlink. In My proxy.aspx page I did the following to get the values. But it giving me Mary LastName=Miller But the output should be Mary Miller string yourValue = (Request.QueryString["FirstName"]); string yourValue2 = (Request.QueryString["LastName"]); this.Label1.Text = Convert.ToString(yourValue + yourValue2);
seema
-
I have the following hyperlink in my GridView. I want two values to be passed on to another aspx page when I click on hyperlink. In My proxy.aspx page I did the following to get the values. But it giving me Mary LastName=Miller But the output should be Mary Miller string yourValue = (Request.QueryString["FirstName"]); string yourValue2 = (Request.QueryString["LastName"]); this.Label1.Text = Convert.ToString(yourValue + yourValue2);
seema
I haven't used the format string but perhaps "Proxy.aspx?FirstName={0}&LastName={1}"
I didn't get any requirements for the signature
-
I have the following hyperlink in my GridView. I want two values to be passed on to another aspx page when I click on hyperlink. In My proxy.aspx page I did the following to get the values. But it giving me Mary LastName=Miller But the output should be Mary Miller string yourValue = (Request.QueryString["FirstName"]); string yourValue2 = (Request.QueryString["LastName"]); this.Label1.Text = Convert.ToString(yourValue + yourValue2);
seema
this is a image button inside a formview, but the concept is the same for template fields in gridview, i hope this is what you are looking for, this link pass two values on the string to the next page. where i read them "pid" in this case is the field returne fron the database, you just have to make it twice, for name and last name instead imagtype=3
-
I have the following hyperlink in my GridView. I want two values to be passed on to another aspx page when I click on hyperlink. In My proxy.aspx page I did the following to get the values. But it giving me Mary LastName=Miller But the output should be Mary Miller string yourValue = (Request.QueryString["FirstName"]); string yourValue2 = (Request.QueryString["LastName"]); this.Label1.Text = Convert.ToString(yourValue + yourValue2);
seema
-
I have the following hyperlink in my GridView. I want two values to be passed on to another aspx page when I click on hyperlink. In My proxy.aspx page I did the following to get the values. But it giving me Mary LastName=Miller But the output should be Mary Miller string yourValue = (Request.QueryString["FirstName"]); string yourValue2 = (Request.QueryString["LastName"]); this.Label1.Text = Convert.ToString(yourValue + yourValue2);
seema