string data = string.Format("{0} * {1} * {3}", dataItem1, dataItem2, dataItem3); listbox.Items.Add(data)
var query = from m in dataContext.polygon where m.locatorid == 1234 select m.polygoncords; var listCords = query.ToList(); // Here you can transform the presentation of the data if desired // FormatData would be a function that would take one polygoncords item // and returns a string appropriatly formated. var formatedResult = ( from m2 in listCord select FormatData(m2)).ToList(); listbox.Items.AddRange(formatedResult);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)