467,877 Members | 1,205 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,877 developers. It's quick & easy.

VS2008 Local Cache Data

Afternoon everyone.

When I Synchronize my Local Data Cache, how do I refresh / reload my dataset?

CODE
LocalDBSyncAgent syncA = new LocalDBSyncAgent();
Microsoft.Synchronization.Data.SyncStatistics syncStats = syncA.Synchronize();
//REFERSH DATASET HERE WITH NEW SYNC DATA ON LOCAL DATA CACHE????

productsTableAdapter1.Fill(mainDS.Products);
dataGridView1.DataSource = productsTableAdapter1.GetData();
dataGridView1.Refresh();

Thanks in advance
A
Dec 12 '07 #1
  • viewed: 854
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by John Wallace | last post: by
2 posts views Thread by Grant Merwitz | last post: by
3 posts views Thread by =?Utf-8?B?SmFtZXMgV29uZw==?= | last post: by
3 posts views Thread by =?Utf-8?B?SGVsZW4gVHJpbQ==?= | last post: by
reply views Thread by jack112 | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.