Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You just need to pass productid and productname in querystring like</p> <pre><code>www.abc.com/Inquiry.aspx?Productid=10&amp;Productname=xyz </code></pre> <p>and in Inquiry.aspx page get that query string value first and use anywhere in the page.For getting your querystring value in Inquiry.aspx will be like</p> <pre><code>int product_id = Convert.ToInt32(Request.QueryString["Productid"]); string productName = Request.QueryString["Productname"]; </code></pre> <p>You have to use this type of scenarion.It will be very good if you will pass encrypted value in query string and decrypt it on Inquiry.aspx page.For Encryption and decryption check this <a href="http://www.codeproject.com/Articles/19538/Encrypt-Decrypt-String-using-DES-in-C" rel="nofollow">Link</a></p> <p><strong>Second Phase</strong> declare a string variable as starting like</p> <pre><code>String Productname = ""; String queryProductname = ""; </code></pre> <p>and on page load assign value to Productname like</p> <pre><code>protected void Page_Load(object sender, EventArgs e) { Productname = "abc"; queryProductname = Productname ; } </code></pre> <p>and into your anchor tag assign that queryProductname like</p> <pre><code>&lt;a href=\"abc.co.in/test.aspx?period="; + DateTime.Now + " &amp;ProductName=&lt;%= queryProductname %&gt;"\"&gt; </code></pre> <p>and for retrieving it's value again use query string like</p> <pre><code>string productName = Request.QueryString["ProductName"]; </code></pre> <p>This is the scenarion.Hope you understand.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload