Answers for "convert int to string in linq query c#"

C#
2

convert int to string in linq query c#

var items = from c in contacts
            select new ListItem
            {
                Value = SqlFunctions.StringConvert((double)c.ContactId).Trim(),
                Text = c.Name
            };
Posted by: Guest on January-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language