Check that you've typed in the column names correctly in your select statement..
Perhaps you'd like to try putting your query in a try..catch block. this usually helps pick up any issues.
here's some code I used for one of my apps.. on form load, it fills the datagrid with all the data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.