How to Import a .Net DataSet using ImportData!

Anonymous
01-25-2005, 09:24 AM
I have a SQL Server query that returns me a dataset. After I receive the dataset, I want to take the results of that dataset and import them into MapPoint. I see that the ImportData function takes local files (csv, udl), or access databases, but I don't see anyway of importing a dataset directly. If I use the Import Data Wizard directly, it let's me do it, so I believe there should be a way to programatically do this.

Does anyone have a clue as to how to do this?

Thank you in advance,

Tony

Varrus
04-30-2007, 05:42 PM
Has this question ever been answered?

Chirag Dave
10-08-2007, 06:00 AM
Varrus, I am looking for the same answer as you! :o

Good Luck,

Chirag.

Wilfried
10-16-2007, 07:27 AM
Hi,

you load the query into a dataset in your program, write it to csv and call the importData method. You can also use AddPushPin. The latter is slower (specially if you have very mutch data).

 
Web mp2kmag.com
mapforums.com