Exemplo n.º 1
0
 /// <summary>设置数据集值</summary>
 /// <param name="ds">数据集</param>
 /// <param name="colname">列名</param>
 /// <param name="isval">是否写入值</param>
 /// <param name="val">值</param>
 /// <param name="defval">默认写入值</param>
 public static void SetDataSaveValue(ref DataSave ds, string colname, bool isval, string val, string defval)
 {
     if (isval)
     {
         ds.Operp(val, colname);
     }
     else
     {
         ds.Operp(defval, colname);
     }
 }