Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello
In vb.net, how to fill a datagrid columns from an existing table in our database SQLserver?
thank you
Posted
Updated 1-Apr-10 5:23am
v2

Tons of articles are available on the internet.
Here is one.
 
Share this answer
 
Hi
Get the data in exising table into dataset's table[0] by querrying the table

Give datagrid.datasource as dataset.tables[0]

by doing this you will get task finished

regards
kumaran
 
Share this answer
 
omri posted an article in 2003 that was quite helpful to me.

Here is the link:

DataGrid101: Using Windows.Forms DataGrid
 
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