I am retrieving data from an SQL table using a DataSet in VB.Net. When there is data in the table, it correctly displays the data in the grid, but when there is no data in the table, only the main UltraGrid view is displayed in it.
How to display table column names as UltraGrid headers, even if the table has no data?
Thanks for the answer, but I think the problem JD is facing is slightly different from mine - in my application, the data was correctly retrieved from SQL Server. My problem is that when there is no data in the table, I want to display the columns of the table as grid headers with 0 rows. This is not happening.
It just shows a message box saying that no data was found, and UltraGrid shows how this is done by default in the application.
source
share