Пример #1
0
        public void SaveData(string stringToSave)
        {
            try
            {
                var newRow = customDataSet.Tables[0].NewRow();
                newRow[Key] = stringToSave;
                customDataSet.Tables[0].Rows.Add(newRow);

                // Stores your data in EPI no need to worry about config files or custom database calls
                PlugInSettings.Save(typeof(AdminPluginSettings), customDataSet);
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
            }
        }