The coding like
decimal prodprice = Convert.ToDecimal(NavigationContext.QueryString["Price"]);
then what should i put for
Binary image = Convert.ToByte(NavigationContext.QueryString["Image"]);
I had error at Convert.ToByte.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I am just going to assume you get your “Image” querystring as a Hex string (0-F digits). If so, you can convert it into a byte array first. An example (not the most efficient one but it should work):