c# how to get all columns from sqlreader code example
Example: datareader get field names
var fieldNames = Enumerable.Range(0, reader.FieldCount)
.Select(reader.GetName)
.ToArray();
var fieldNames = Enumerable.Range(0, reader.FieldCount)
.Select(reader.GetName)
.ToArray();