Using System;
Using System. Data;
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;
Using System. Data. SqlClient;
Using System. Text;
Using System. Collections;
Namespace zj123.SQLDB
{
Public class DbAccess
{
SqlConnection conn = null;
SqlCommand cmd = null;
Public DbAccess ()
{
//
// TODO: add the constructor logic here
//
Conn = new SqlConnection ();
Conn. ConnectionString = Convert. ToString (System. Configuration. ConfigurationSettings. etettings ["datasource"]);
// Conn. ConnectionString = "initial catalog = idyan_new; data source =.; user id = bt; password = btbtbtbt; Connect Timeout = 5000 ";
Cmd = new SqlCommand ();
Cmd. Connection = conn;
Cmd. CommandTimeout = 0;
}
Public DbAccess (string constr)
{
//
// TODO: add the constructor logic here
//
& Nb