DataProvider |
Post Reply |
Author | |
flauzer
Senior Member Joined: 30 December 2003 Location: Italy Status: Offline Points: 108 |
Post Options
Thanks(0)
Posted: 17 August 2005 at 9:15am |
Is there a way to use DataProvider to SQL server 2000 ? (ie Provider=sqloledb ... ? ) Have you plan this option? Thanks
Edited by flauzer |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi!
To make it working with SQL server, you should add your own code for saving/retrieving events from/to the database. To do so in VB, you could write own function to populate CalendarControl from the DB and catch events like EventAdded, EventChanged, EventDeleted to update your array. Look at the example which illustrates this idea. It's a code mixed with pieces of pseudo-code. Simple copy/paste wouldn't work ;)
Let me know if you have more questions on it. In further versions we'll slightly change this mechanism and will add SQL Server connection sample. -- Best regards, Serge |
|
flauzer
Senior Member Joined: 30 December 2003 Location: Italy Status: Offline Points: 108 |
Post Options
Thanks(0)
|
Thanks Serge, I've seen Microsoft Access database (so Event, RecurrencePattern,......and other tables)...It would be nice if calendar control will update directly in SQL server. I will also try to investigate around XML feature.... I think that support for SQL will be very useful..... Thanks.
|
|
RBCDATA
Newbie Joined: 06 November 2005 Location: Denmark Status: Offline Points: 4 |
Post Options
Thanks(0)
|
I agree Kind Regards René Bechmann |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |