Exemplo n.º 1
0
 public int Them(ALBUM lpDTO)
 {
     try
     {
         LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString);
          db.ALBUM_add(
             lpDTO.TenAlbum
             );
          return 1;
     }
     catch (Exception ex)
     {
         throw (ex);
         //return 0;
     }
 }