Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > How to fill empty bound DataGridView with empty rows
 

How to fill empty bound DataGridView with empty rows

I'd like to have my empty and partially empty bound DataViewGrids be filled with empty rows (so none of the gray grid background is ever showing).  Is there any way to do this?

Thank you

philipsh  Thursday, December 15, 2005 10:46 PM

No. You'll either have to manually paint the appearance of rows or manually add rows to your datasource.

 

-mark

DataGridView Program Manager

Microsoft

This post is provided “as-is�o:p>

 

Mark Rideout  Thursday, December 15, 2005 10:55 PM

No. You'll either have to manually paint the appearance of rows or manually add rows to your datasource.

 

-mark

DataGridView Program Manager

Microsoft

This post is provided “as-is�o:p>

 

Mark Rideout  Thursday, December 15, 2005 10:55 PM
That's a travesty.
philipsh  Friday, December 16, 2005 4:23 PM

You can use google to search for other answers

Custom Search

More Threads

• data adapters
• How to get the current Item "Data Error" in bindingSource?
• trouble saving textbox.txt
• Weird Behaviour when selecting a row with the row header in a DataGridView
• Problem with startup form.
• getobject() method in c#?
• How can I optimize working with TableAdpaters
• DataGridView and Images
• Extra Row in Datagridview
• How do you get the row number from datagridview