Esempio n. 1
0
 /// <summary>
 /// load file xml
 /// </summary>
 public Connection()
 {
     Entities.SQL     sql = new Entities.SQL();
     Common.Utilities com = new Common.Utilities();
     sql        = com.ConnectionsName();
     strConnect = "Data Source=" + sql.ServerName + ";User ID=" + sql.UserName + ";password="******";Initial Catalog=" + sql.DatabaseName;
 }
Esempio n. 2
0
 /// <summary>
 /// lay gia tri tu file xml
 /// </summary>
 public Connection()
 {
     Entities.SQL sql = new Entities.SQL();
     Common.Utilities com = new Common.Utilities();
     sql = com.ConnectionsName();
     strConnect = "Data Source=" + sql.ServerName + ";User ID=" + sql.UserName + ";password="******";Initial Catalog=" + sql.DatabaseName;
 }