private OutInBoundTemp getOutInBound(HtmlNode htmlNode) { OutInBoundTemp result = null; try { result = new OutInBoundTemp(); HtmlNodeCollection nodebody = htmlNode.SelectNodes("table[@class='select-flight']/tbody/tr"); result.Items = getListItems(nodebody); } catch { } return result; }
private OutInBoundTemp getOutInBound(HtmlNode htmlNode,bool isOutBound) { OutInBoundTemp result = null; try { result = new OutInBoundTemp(); HtmlNodeCollection nodebody = htmlNode.SelectNodes("div[1]/table/tr[@class='rgRow']"); result.Items = getListItems(nodebody,isOutBound); } catch { } return result; }