c# sqldatareader get all columns 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();