Exemple #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;
 }
Exemple #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;
 }