Returns the value for the current row in the Reader for the specified column name
- ColumnName (String)
-
The name of the column
The reader column value
DbNetData Data = new DbNetData( ConfigurationSettings.AppSettings[ "nwind" ] ); Data.Open(); Data.ExecuteQuery("select * from subscribers"); while ( Data.Reader.Read() ) { SendMailMessage( Daa.ReaderValue("email_address").ToString() ) } Data.Close();