예제 #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;
 }
예제 #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;
 }