将有,的字符串,转成数组

 string[] strS = strF.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
var list06OR11 = new TRBase_06Service().GetTable(p => (p.TRBase_06.RowGuid == strTB06RowGuid || p.TRBase_06.RelGuid == strTB06RowGuid) && p.TRBase_11.CE02 == strTB11CE02).ToList();

var list11RowGuid = string.Join(",", list06OR11.Select(p => p.TRBase_11.RowGuid)).Split(',');

你可能感兴趣的:(将有,的字符串,转成数组)