I have read a lot of articles on how to encrypt and decrypt query string but can't seems to find any on how to use it in html tag. This is what i'm trying to achieve The product id is an interger but i don't want to send it to the SingleProduct.aspx page like that. I want to encrypt it and then decrypt it on the page to make it of it for other operation
<a href="Singleproduct.aspx?Product=<%#Eval("Product_Id")) %>">
<a href="Singleproduct.aspx?Product=<%# EncryptValue(Eval("Product_Id", "{0}")) %>">
public
protected
private
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)