Thursday 2 January 2014

How to insert data into database(Sql Server)

Today I will tell you how you can send data from your application(Front End Page) to backend(Sql Server) database.I Will make Front End With Asp.net Controls.And I will Use the Classes Of Ado.net .With the help of Ado.net Classes will can send data from front end to sql(Structure query language) database.
                                  Steps To Insert Data
1.Make Front End
2.Now make the database(I will Use the external database(i.e sql server 2008))


3.Now Code on the Button click event(Double click on the button which is in Front end page after double click on the page a page is opened that page extension is(.aspx.cs)).Now Code on it
                                       
4.Go To Web.Config File Add The Selected Code

You Record Inserted.......


















No comments:

Post a Comment