"I would like to know if you have a demo of how I could store the coordinates created by generating points or polylines from on the map into a database. You can save them as part of collections but I would like to know how they can be stored into a database."
I do not have such a sample. However, Johannes Kebeck, has a sweet series of posts around Virtual Earth & SQL Server 2008:
Part 4 (6/6) is titled Inserting Data into SQL Server 2008 and answers the question. However, Johannes takes a slightly different approach than the pattern I showed in my demo. I love the fact that he took a fairly platform agnostic approach in his examples because it means that anyone can use the approach regardless of their client & server libraries. However, I’m a .NET evangelist. It’s my job to highlight our great developer platform. We have some great libraries and APIs in the Microsoft AJAX Library / ASP.NET AJAX & the Windows Communication Foundation that could help make building out this scenario much easier. I plan on taking the same scenario and building it out using them. I’ll be working on it, along with my original example, in the next week or so. When I am done, I will make the source code available and have 2 screencasts walking showing how to build them step by step.