Returns the value for the current row in the Reader for the specified column index
- ColumnIndex (Int32)
-
The inedx of the column
The reader column value
DbNetData Data = new DbNetData( ConfigurationSettings.AppSettings[ "nwind" ] ); Data.Open(); Data.ExecuteSingletonQuery("select count(*) from subscribers"); SubsriberCount.Value = Data.ReaderValue(0); Data.Close();