Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
im new in vb.net .. i have this data
-------------------------
| categoryid | category |
-------------------------
| 1 | category1 |
| 2 | category2 |
| 3 | category3 |
| 4 | category4 |
| 5 | category5 |
--------------------------

want to populate it in datagridview using datatable..
pls help me with the codes..
thanks
Posted

 
Share this answer
 
Comments
Espen Harlinn 15-Jul-11 10:47am    
My 5
This is a very basic thing in ADO.Net
I would suggest you to read a book on ADO.Net so that you will be clear with all basic things.

However, if you still want solution without trying to know the basics then above solution is best for you, but then we will see more questions here on this topic from you.
 
Share this answer
 

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



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