Пример #1
0
        private void setDataSourceDictionaries()
        {
            m_ds = m_localizer.GetDsItems();

            if (!String.IsNullOrEmpty(m_localizer.ErrorString))
            {
                MessageBox.Show(m_localizer.ErrorString);
                return;
            }

            grdDictionaries.AutoGenerateColumns = true;
            grdDictionaries.DataMember          = m_ds.Tables[0].TableName;
            grdDictionaries.DataSource          = m_ds;

            webBrowser.Refresh();
        }