I have a problem displaying the data in a column that is in the
I have a problem displaying the data in a column that is in the
This solution can help you:
var dt = new System.Data.DataTable();
dt.Load(rdr);
var enumerableTable = (dt as System.ComponentModel.IListSource).GetList();
Chart1.DataBindTable(enumerableTable, "Consumo_Medio_Real");