日期:2014-05-17 浏览次数:20569 次
var DR = from a in SQL.PSNs where a.Qno == "Q1452654" select new { a.SN }; foreach (var abc in DR) { TextArea1.Value = abc + "\r\n"; }
var DR = from a in SQL.PSNs where a.Qno == "Q1452654" select a.SN; TextArea1.Value = string.Join("<br />",DR.ToArray());
------解决方案--------------------
TextArea1.Value += (abc + "\r\n");