I'm replacing a third-party grid with the GridFX grid, and I'm running into a bit of trouble.
I'm getting the error "DataSource was set to an object that does not implement IEnumerable." when trying to bind the grid to a data table.
Am I missing something simple?
Here's an example of the code
Dim dtMPNS As DataTable dtMPNS = Common.GetDataTable(lstMPNS, objectProperties) grdMedication.DataSource = dtMPNS grdMedication.DataBind() <-- error occurs here
Thanks in advance