Data base connection in asp.net in web application
Data base connection in asp.net in web application:
Data base
connection in asp.net in web application ,some people may creating our web projects
in ASP.NET and they may want help for connecting
their database(sql server) with ASP.NET. Like wise with retrieving in database
to web application and storing data in to database. For this work we fallow A
specific sequence that must be followed with regards to this work and the storing/retrieving
process.
For this work we need some programming knowledge for fallowing these steps. The answer below should provide the answers to the issues just mentioned.
For this work we need some programming knowledge for fallowing these steps. The answer below should provide the answers to the issues just mentioned.
When the people make web application then same time have given Problem.
The problem is-
“when we doing my project work, and I have a problem.
My project is in asp.net technology and I don't know how to connect the database(sql
server) in asp.net using c# and how to retrieve in database to web application.”
For this
Question ,I am try to give this Ans :-
Creating sql
database connection in asp.net web application through C#, here we give some
steps are fallows:
1: Open visual studio IED and go to FILE menu select NEW-> Web application ,
then from pop-menu is open select asp.net web
application/website (Note: Language must be C#) , then press OK.
2: Now create your design and make application and take a
button to the asp.net application.
3: Now Open SQL SERVER database Management system and create
database for application open works (or
you can create your own database by the Sql command CREATE DATABASE data base
name).
4: Then create table (data storing place) by clicking right
mouse and create as your requirement, give the Name them according to your requirement , for
your information . And click save button, and then you’ll get a popup menu
where you have to enter the Table Name.
5: Now Come Back to Visual studio web
Application and write the following code in the button click event.connect-to-database-in-asp-net |
Other Post :
- how-to-bind-drop-down-list-form-data
- how-to-edit-list-view-template-in Asp.net Programming
- how-to-use-asp-list view-control-in
- how-to-make-effective-frq-page-in-web
- how-to-use-repeater-control-in-asp.net
- how-to-add-reference-of-dll-file-in
- how-to-use-how-to-use-captcha-in-asp.net
- how-to-use-how-to-use-captcha-in-asp.net
- how-to-use-regular-expression-in-asp.net.
- how-to-find-repetitions-of-character-in.
- in-asp.net-how-to-upload-image