Exemplo n.º 1
0
 private void InnerSetValue(string name, string value)
 {
     OptionsDataSet.OptionsRow optionsRow = FindRow(name);
     if (optionsRow == null)
     {
         this.Options.AddOptionsRow(name, value);
     }
     else
     {
         optionsRow.Value = value;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 根据Name获取Value
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 public string GetValue(string name)
 {
     OptionsDataSet.OptionsRow optionsRow = FindRow(name);
     return(optionsRow == null ? string.Empty : optionsRow.Value);
 }