ho aperto un datareader così
codice:SqlDataReader DReader = null; string Usr = this.Username.Text ; string Pwd = this.Password.Text; string StrQuery = "SELECT * FROM T_Utenti WHERE Nome='" + Usr + "' and Pwd='" + Pwd + "' "; SqlCommand objCommand = new SqlCommand (StrQuery,ConnDB); ConnDB.Open(); DReader = objCommand.ExecuteReader();
Come faccio a stampare un campo ben preciso ??
Cioè fare l'equivalente in ASP di Recordset("NomeCampo")..
grazie