How To Bind Data in Dataridview in Asp.Net Step by Step

Hello Friends.....

Today In This Tutorials I am Going to Show You How To Bind Data in Datagridview ?

So, First Start Your Visual Studio 2010.

1. Open New Project.



2.Select Visual Basic and select Windows Form Application.

3.After Than You Will See a Application Form.

4.After You design Your Form Shown Below.

5.Now You Create a Simple Data base.
  -Click Solution Exploler(Alt + Ctrl + L).
  -Right Click In Your Application in Solution Exploler.
  -and Click Add New Item.
  -Than Select Data in service-based-database.





6. After Create a database you add Table in database Shown Belo.

7.           Id                    Numaric(18, 0)    Datatype.
             Name               Varchar(50)         Datatype.
             Address            Varchar(50)         Datatype.
             Mobile No         Numaric(18, 0)     Datatype.
             City                  Varchar(50)         Datatype.
             Email                Varchar(50)         Datatype.
             Website             Varchar(50)        Datatype.




8.Than Save Table and Give Table Name.(Ctrl + S).

9.Than Open Table in server Exploler and Right click on The Table and Select Show Table Data.

10.After Than Feel The Data in Table Shown Below.

11.After (Ctrl + S).

12.Select The Datagridview and Click to Top Right Cornner in Datagridview Shown Below.

13.And Select The Choice Data Source.

14.And Select The Table.

15. Now Run The Application.(F5)




16. Finish.

Video::




Thank You......


I Hope You Like My Tutorials if you really like so pls like and give best comments
and subscribe my webblog www.1000programmer.blogspot.com


Thank You.
Previous
Next Post »
Thanks for your comment