<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : DataProvider</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : DataProvider]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:19:39 +0000</pubDate>
  <lastBuildDate>Sun, 06 Nov 2005 07:40:12 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=2735</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[DataProvider : I agree  Kind Regards Ren&#233; BechmannRBC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=9449&amp;title=dataprovider#9449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1592">RBCDATA</a><br /><strong>Subject:</strong> 2735<br /><strong>Posted:</strong> 06 November 2005 at 7:40am<br /><br /><P>I agree <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P><P>Kind Regards</P><P>René Bechmann<BR>RBC Data</P>]]>
   </description>
   <pubDate>Sun, 06 Nov 2005 07:40:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=9449&amp;title=dataprovider#9449</guid>
  </item> 
  <item>
   <title><![CDATA[DataProvider : Thanks Serge, I&amp;#039;ve seen...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=8236&amp;title=dataprovider#8236</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=289">flauzer</a><br /><strong>Subject:</strong> 2735<br /><strong>Posted:</strong> 19 August 2005 at 11:19am<br /><br /><P>Thanks Serge,</P><P>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....</P><P>I think that support for SQL will be very useful.....<IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P><P>Thanks.</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 19 Aug 2005 11:19:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=8236&amp;title=dataprovider#8236</guid>
  </item> 
  <item>
   <title><![CDATA[DataProvider : Hi!  To make it working with SQL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=8230&amp;title=dataprovider#8230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 2735<br /><strong>Posted:</strong> 19 August 2005 at 8:35am<br /><br />Hi!<br /><br />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<br />and catch events like EventAdded, EventChanged, EventDeleted to update your array.<br /><br />Look at the example which illustrates this idea. It's a code mixed with pieces of pseudo-code. Simple copy/paste wouldn't work ;) <br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />Sub Populate()<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCalendar.DataProvider.Remov eAllEvents<br />  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' There should be some your collection with events data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' In your case this is most likely a recordset which you get from the SQL server<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' So, iterate this collection<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For each objEvent in objEventsCollection <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objCalendarEvent = objCalendar.DataProvider.CreateEventEx(objEvent.ID)<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objCalendarEvent.StartTime = ...<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objCalendar.DataProvider.AddEvent  objCalendarEvent&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next<br />  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCalendar.Populate<br />End Sub<br /><br />Private Sub CalendarControl_EventChanged(ByVal EventID As Long)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set objCalendarEvent = objCalendar.DataProvider.GetEvent(EventID)<br />  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' update data in your collection from objCalendarEvent<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br />End Sub<br /></pre></td></tr></table><br /><br />Let me know if you have more questions on it.<br /><br />In further versions we'll slightly change this mechanism and will add SQL Server connection sample.<br /><br />--<br />Best regards,<br />Serge]]>
   </description>
   <pubDate>Fri, 19 Aug 2005 08:35:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=8230&amp;title=dataprovider#8230</guid>
  </item> 
  <item>
   <title><![CDATA[DataProvider : Is there a way to use DataProviderto...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=8180&amp;title=dataprovider#8180</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=289">flauzer</a><br /><strong>Subject:</strong> 2735<br /><strong>Posted:</strong> 17 August 2005 at 9:15am<br /><br /><P>Is there a way to use <strong>DataProvider&nbsp;</strong>to SQL server 2000&nbsp;? (ie Provider=sqloledb&nbsp;... ? &nbsp;)</P><P>Have you plan this option?</P><P>Thanks</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><span style="font-size:10px"><br /><br />Edited by flauzer</span>]]>
   </description>
   <pubDate>Wed, 17 Aug 2005 09:15:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2735&amp;PID=8180&amp;title=dataprovider#8180</guid>
  </item> 
 </channel>
</rss>