Exemplo n.º 1
0
        static public bool InitializeDBConnection()
        {
            try
            {
                DataSet = new RadSysDBDataSet();
                DBConnection = new SqlConnection(ConnectionString);
                DataAdapter = new SqlDataAdapter();
                LoadDataSet();
                return true;
            }
            catch
            {

                return false;
            }
        }
Exemplo n.º 2
0
        static public bool InitializeDBConnection()
        {
            try
            {
                DataSet = new RadSysDBDataSet();
                Console.Out.WriteLine(ConnectionString);
                DBConnection = new SQLiteConnection(ConnectionString);
                DataAdapter = new SQLiteDataAdapter();
                LoadDataSet();
                return true;
            }
            catch
            {

                return false;
            }
        }