MSSQL Server

Mar 10, 2010 at 7:25 AM

I have a server that installs MSSQL Server 2005.

How can I change the program so that GMAP image cache can be saved to the MSSQL Server?

Thank you.

Mar 10, 2010 at 7:44 AM

Sorry for the stupid question.

I found the answer.

In MainForm.cs --> public MainForm(), just add these code:

  MsSQLPureImageCache ch = new MsSQLPureImageCache();
  ch.ConnectionString = @"Password=...;Persist Security Info=True;User ID=...;Initial Catalog=...;Data Source=...";
  MainMap.Manager.ImageCacheSecond = ch;