using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace FirseCase.DAL
{
/// <summary>
/// DataBase 的摘要说明 用于连接数据库的类
/// </summary>
public class DataBase
{
protected string ConnectionString;//连接数据库的字符串
protected SqlConnection Connection; //数据库连接对象
public DataBase()
{
//
// TODO: 在此处添加构造函数逻辑
//
/// Configuration.Configuration rootWebConfig =
// Configuration.WebConfigurationManager.OpenWebConfiguration("/FirstCase");
// System.Configuration.ConnectionStringSettings Connecti