Filling a DataTable in C# using MySQL

前端 未结 5 2047
陌清茗
陌清茗 2021-01-07 14:33

I\'m attempting to fill a DataTable with results pulled from a MySQL database, however the DataTable, although it is initialised, doesn\'t populate. I wanted to use this Dat

5条回答
  •  北恋
    北恋 (楼主)
    2021-01-07 14:51

    Debug your application and see if your sql statement/ connection string is correct and returns some value, also verify if your application is not throwing any exception.

提交回复
热议问题