Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It's happen suddenly that, Datagridview in one of my windows application shows nothing. Even data source contains more than 400 rows. I get empty datagridview.

Before some times it was showing all the expected rows but now its not showing anything. Its empty.
Please help me in this.
Posted
Comments
[no name] 25-Sep-14 11:54am    
And what sort of help would you expect from us based on the zero amount of relevant information that you have given us concerning your problem?
Kschuler 25-Sep-14 11:56am    
Post your code for how you attach the data to the grid.
nilesh sawardekar 25-Sep-14 12:06pm    
Dim adp As New OleDbDataAdapter("My Query", con)
Dim ds As New DataSet
adp.Fill(ds)
dgvDetails.DataSource = ds
Kschuler 25-Sep-14 14:08pm    
So....what's your SELECT statement? "My Query" isn't going to pull anything.
syed shanu 26-Sep-14 0:19am    
Did you check by debugging. Using Break point check for your ds contains data or not.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900