DataGridView not displaying new rows

programthat

New member
Joined
Feb 23, 2009
Messages
1
Location
Midwest
Programming Experience
5-10
I have a DataGridView on my form. I am adding rows to it using the row.add(array()) method. I query a SQL Server database using table adapters that fill typed datasets. For the majority of the queries I get the results and display the records. For a few I can add the rows. The .add method is returning a row index (integer), but the rows "Displayed" prpoerty is "false" so I can not see any of the rows.

I have set break points and walked through the code. I do not get any errors. The rows simply do not show up. If I get a row count after looping through the datatable I get the same number as the datatable contains. How can I get these rows to show up or get the "Displayed" propert to be "True"

Thanks,
 
Back
Top