Posted on: 7/20/2014 9:24:41 AM | Views : 424

Hi
i would like to know the way of how i can show the panel in case if the query string contain on or more than one value for example: i want my panel which called carcatepan appear in case if the user choose on of those values: cars,boats,trucks. In the code below in requesting the query line its show a red line under the Cars with an error message:
Error 1 The name 'Cars' does not exist in the current context 

protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["cat"] == Cars) { carcatepan.Visible = true; } else { carcatepan.Visible = false; } if (Request.QueryString["cat"] != null) { string cat = Request.QueryString["cat"].ToString(); str ...

Go to the complete details ...