Buongiorno

Ho un archivio appalti che interrogo con una detailsview
Prima di accedere alla procedura verifico che l'utente sia abilitato
Dalle pagine precedenti mi passo le variabili di autenticazione utenteid ed userid
Quando lavoro localmente in prova setto 4 righe nel modo seguente

//string utenteid = Request.QueryString["utente"];
//string passwordid = Request.QueryString["password"];

string utenteid = "pisapia";
string passwordid = "xxxxx";

Funziona tutto bene

Prima di pubblicare sul localhost le cambio in questo modo

string utenteid = Request.QueryString["utente"];
string passwordid = Request.QueryString["password"];

//string utenteid = "pisapia";
//string passwordid = "xxxxx";

Mi si genera il seguente errore

Errore2Occorre un riferimento a un oggetto per la proprietà, il metodo o il campo non statico 'System.Web.UI.Page.Request.get'.C:\Users\admin\De sktop\Appalti 26 appsop\Appalti.aspx.cs1523C:\...\Appalti 26 appsop\


Perche'?

Grazie

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.OleDb;

public partial class Appalti : System.Web.UI.Page
{

string utenteid = Request.QueryString["utente"];
string passwordid = Request.QueryString["password"];

//string utenteid = "pisapia";
//string passwordid = "xxxxx";