📌  相关文章
📜  在linq查询c#代码示例中将int转换为字符串

📅  最后修改于: 2022-03-11 14:49:07.399000             🧑  作者: Mango

代码示例1
var items = from c in contacts
            select new ListItem
            {
                Value = SqlFunctions.StringConvert((double)c.ContactId).Trim(),
                Text = c.Name
            };