Exemplo n.º 1
0
        private void ReadSetup()
        {
            try
            {
                DAL.Common common = new DAL.Common();
                DataSet    ds     = common.GetSetup();

                if (ds.Tables.Count > 0)
                {
                    if (ds.Tables[0].Rows.Count > 0)
                    {
                        Drive = ds.Tables[0].Rows[0]["Drive"].ToString();
                    }
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }