/// <summary> /// Extract the version ID (99, 98, 97...) from the Latest_bill_version_id given in BILL_TBL.dat. /// </summary> /// <param name="item">The BILL_TBL.dat data for a bill.</param> /// <returns></returns> private string VersionID(BillTableRow item) { string rx = "\\d{4}0" + item.Measure_type + item.Measure_num + "(\\d{2})" + ".*"; string result = Regex.Replace(item.Latest_bill_version_id, rx, "$1"); return(result); }
public BillTableRowChangeEvent(BillTableRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }