示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected override string btnModify_Click()
 {
     //对LDLevelInfo表进行操作
     if (BllModel.UpdateConfiguration(ConfigurationModel))
     {
         Hashtable hs = new Hashtable();
         //var list = BLL.Configuration.Model.ConfigDictionaryList["LDMoney"];
         //foreach (Model.ConfigDictionary dict in list)
         //{
         //    int starLevel = dict.StartLevel;
         //    int endLevel = dict.EndLevel;
         //    for (int i = starLevel; i <= endLevel; i++)
         //    {
         //        BLL.LDLevelInfo.UpdateLDLevelInfo(dict.DValue, i.ToString(), hs);
         //    }
         //}
         BLL.CommonBase.RunHashtable(hs);
         return("操作成功");
     }
     else
     {
         return("操作失败");
     }
 }