Example #1
0
 public DataAccess()
 {
     path = Application.StartupPath + "\\App.config";
     _xml = new UTLXML(path);
     _strConnectionString = _xml.ReadTagInfor("LocalConnection");
     _sqlCommand = new SqlCommand();
     _sqlDataAdapter = new SqlDataAdapter();
     _sqlConnection = new SqlConnection();
 }
 public DataAccess()
 {
     path = Application.StartupPath + "\\App.config";
     _xml = new UTLXML(path);
     _strConnectionString = _xml.ReadTagInfor("LocalConnection");
     _sqlCommand          = new SqlCommand();
     _sqlDataAdapter      = new SqlDataAdapter();
     _sqlConnection       = new SqlConnection();
 }