public SortedDictionary <int, MaterielOutOrderTable> getAllReviewMaterielOutOrderInfo() { SortedDictionary <int, MaterielOutOrderTable> list = new SortedDictionary <int, MaterielOutOrderTable>(); foreach (KeyValuePair <int, MaterielOutOrderTable> index in m_tableDataList) { MaterielOutOrderTable record = new MaterielOutOrderTable(); record = index.Value; if (index.Value.isReview == "1") { list.Add(list.Count, index.Value); } } return(list); }
public bool checkBillIsExist(string billNumber) { bool isRet = false; foreach (KeyValuePair <int, MaterielOutOrderTable> index in m_tableDataList) { MaterielOutOrderTable record = new MaterielOutOrderTable(); if (index.Value.billNumber == billNumber) { isRet = true; break; } } return(isRet); }