How to dynamically draw a line between two points (C#)?

Discussion created by sheyangzi on Dec 22, 2011
Latest reply on Dec 22, 2011 by sheyangzi
In my C# project, I saved all the position information (longitude and latitude) in a database. After loading a default map, I would like to retrieve all these positions and link them with lines. I do not need to save these maps.

Could you please advise what kind of object I can use to draw these lines on a map dynamically?