Ejemplo n.º 1
0
 public string GetVersion()
 {
     try
     {
         daLive = new TblLiveTableAdapter();
         strVer = daLive.GetVersion(LiveStart.LiveProduct).ToString();
     }
     catch (Exception ex)
     {
         Interactive.LInfoError("Could not Get version\n" + ex.Message, "Application Failure");
     }
     return(strVer);
 }
Ejemplo n.º 2
0
        public bool UpdateVersion()
        {
            try
            {
                daLive = new TblLiveTableAdapter();


                n = daLive.UpdateVersion(LiveStart.LiveDbVersion, LiveStart.LiveProduct);
            }
            catch (Exception ex)
            {
                Interactive.LInfoError("Could not update database\n" + ex.Message, "Application Failure");
            }
            if (n > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }