Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,
I am creating a online exam paper in ASP.NET and I want some help.These are some question for you ques please read it and give me your feedback.
1.Which database is best for me..?
2.According to database how can i create connection string,because my application is a server site application.
3.If any one have some pages with connection class so please give me complete code because I am new in this field.
Posted
Updated 10-Oct-13 0:42am
v2

Quote:
1.Which database is best for me..?
Depends[^]. But you go with SQL Server because of some advantages when you use .NET.
Quote:
2.According to database how can i create connection string,because my application is a server site application.
http://www.connectionstrings.com/[^]
Quote:
3.If any one have some pages with connection class so please give me complete code because I am new in this field.
Overview of ADO.NET[^]
 
Share this answer
 
Which Database to use solely depends on you. But refer this http://www.connectionstrings.com/[^] for everything about connection strings.

Regards...
 
Share this answer
 
v2
Sqlserver 2008 would be best for you

its better if you create your connection string in webconfig
<connectionstrings>


<add name="CMSModule" connectionstring="Data Source=1servername;Initial Catalog=databasename;User ID=sa;Password=sql" providername="System.Data.SqlClient">

 
Share this answer
 
For database i suggest you to use sql ...
it's more batter to give your connection string name in web config
 
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