Click here to Skip to main content
14,665,555 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 2

Hello Sriram,

there are various ways present.

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

thanks
sanjeev
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

use pin button on datagridview and choose data source to bind data of table through wizard.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100