How would I convert the results returned in a MySQL query to an array in C# .Net/Mono
To my understanding you need to define arrays with the number of items the array wi
Instead of using a DataReader, use a DataAdapter to fill a DataTable. You can see the total number of rows in the resulting DataTable.
DataReader
DataAdapter
DataTable
var results = new DataTable(); var adapter = new SqlDataAdapter(); adapter.SelectCommand = dbcmd; dapater.Fill(results);