Beispiel #1
0
        public string GetDataState()
        {
            SQLDB sqlDB = new SQLDB(connectionString);
            int blockStateId;//в таблице fn_data_block
            int STRIddataBlockState;//в таблице fd_data_block_state
            string blockStateMessage;

            sqlDB.OpenConnection();
            blockStateId = sqlDB.GetDataBlockState(DATA_BLOCK_ID);
            STRIddataBlockState = sqlDB.GetSTRIdDataBlockStateName(blockStateId);
            blockStateMessage = sqlDB.GetString(STRIddataBlockState, CurrentLanguage);
            sqlDB.CloseConnection();

            return blockStateMessage;
        }