In my DataGridView controls, if there is no data to display, the control shows a blank screen.
What our spec calls for is something more like a blank screen in Microsoft Excel.
Is there a setting on the DataGridView control that I should specify for this or am I going to need to manually toss a number of blank rows into a DataTable to insert into there (never tried that)?
If I’d need to do that programmatically, what would be the best way to tell how many rows I should add to an empty DataTable?
I’m afraid but it looks like you will need to populate rows and columns dynamically. Take a look on following posts:
Making a DataGridView look like an Excel sheet