List.FindAll 方法

 List<string> subWGCarNo = WGCarNo.FindAll(GSMatchCarNo);


private bool GSMatchCarNo(string s)
        {
            if (s.IndexOf(com_vehicle_code.Text.Trim()) > -1)
            {
                return true;
            }
            return false;
        }
posted @ 2012-04-12 09:17  popoxxll  阅读(336)  评论(0编辑  收藏  举报