I need to pass variables using the LinkButton. I need to pass them via the URL so that I can capture the variables using Request.QueryString[""] Method.
How can I do this?
Thanks in Advance.Unless you are redirecting via the linkbutton, why use querystring variables? Why not use the CommandArgument and CommandName attributes of the linkbutton. You can store values in there and reference them on the postback of the form. Otherwise, on the Click event of the linkbutton, do a response.redirect with your query string values in the URL you are directing to. HTH!
0 comments:
Post a Comment