if(this.Session["acct"] == null) { // populate the value } // get the value and use it
string queryString = "My Tested Query HERE"; LoadDataGrid(queryString);