ASP.Net中的在线考试应用程序

人气:217 发布:2022-09-22 标签: asp.net ASP.NET

问题描述

您好, 我正在ASP.NET中创建一个在线试卷,我想要一些帮助。这些问题请您阅读并给我您的反馈意见。 1.哪个数据库最适合我..? 2.根据数据库如何创建连接字符串,因为我的应用程序是服务器站点应用程序。 3.如果任何人有一些连接类的页面,那么请给我完整的代码,因为我是这个领域的新人。

解决方案

引用:

1.哪个数据库最适合我..?

^ ]

使用哪个数据库完全取决于您。但请参阅此 http://www.connectionstrings.com/ [ ^ ]。 问候......

Sqlserver 2008最适合你 如果你在webconfig中创建你的连接字符串会更好 < connectionstrings> ; < add name =CMSModuleconnectionstring =Data Source = 1servername; Initial Catalog = databasename; User ID = sa ; Password = sqlprovidername =System.Data.SqlClient>

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.

解决方案

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[^]

Which Database to use solely depends on you. But refer this http://www.connectionstrings.com/[^] for everything about connection strings. Regards...

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">

207