Click here to Skip to main content
15,885,932 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends,


i have created a employeetable in sqlserver-2008,now my task is to retrieve that table data and display in my asp.net webpage in a gridview control please tell me iam a fresher i tried a lot but struck somewhere
Posted

 
Share this answer
 
Hello Sriram,

there are various ways present.

you can follow this link
How to populate DataGridView, GridView with SQL statement in C#[^]

thanks
sanjeev
 
Share this answer
 
use pin button on datagridview and choose data source to bind data of table through wizard.
 
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