When you want to use a querystring valueyou should first convert or cast it to theappropriate type:
string query = Convert.ToString(Request.QueryString("WSiteCode"))