public void Add(SIGN sign, OPTION option, string low, string high) { if (low.Length >= LengthLimit) { low = low.Substring(0, LengthLimit); } if (high.Length >= LengthLimit) { high = high.Substring(0, LengthLimit); } DataRow row = dataTable.NewRow(); row[sSIGN] = sign.ToString(); row[sOPTION] = option.ToString(); row[sLOW] = low; row[sHIGH] = high; dataTable.Rows.Add(row); }
public override string ToString() { return(mySign.ToString()); }