コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }