Exemple #1
0
        protected void AddField(String fldName, String type, String value)
        {
            CField f = new CField(type, value, fldName);

            fieldsHash.Add(fldName, f);
            fieldsArr.Add(f);
        }
Exemple #2
0
        public String GetFieldValue(String fldName)
        {
            if (fieldsHash.Contains(fldName))
            {
                CField f = (CField)fieldsHash[fldName];
                return(f.GetValue());
            }

            return("");
        }
Exemple #3
0
 public void SetFieldValue(String fldName, String value)
 {
     if (fieldsHash.Contains(fldName))
     {
         CField f = (CField)fieldsHash[fldName];
         f.SetValue(value);
     }
     else
     {
         AddField(fldName, "S", value);
     }
 }