Database driven Calendar

Newbie Member
25Sep2009,13:02   #1
max_power's Avatar
Hi,

First of all I am very new to C# and its concepts. What I wanted is to build a database driven standalone winforms based application (Calendar) that can help me keep track of appointments and so forth, so I came across an example on the internet but the problem is it stores the appointment title, startdate, enddate, colors in a hash table list rather than a sql server DB. My question is how can I store the data a DB (insert/update/delete)? So far I have made a couple of adjustments to it, but adding two buttons, a delete appointment button that just deletes the appointment from the list and a save appointment button that saves the startdate and enddate in a DB. I would like everything (inserts/edits/delete) to go to a sql db rather than the list.

I have attached all the source files with this post so if someone can please go through it and help me, it would be appreciated.

Thanks
Attached Files
File Type: zip DayviewCalendar.zip (212.6 KB, 5 views)
Go4Expert Founder
25Sep2009,14:22   #2
shabbir's Avatar
Instead of attaching try posting code that you see as problematic.
Newbie Member
25Sep2009,15:28   #3
max_power's Avatar
Well that's my problem, since I didn't write the code and I am a beginner at C#, I don't know where to make the changes necessary. That's what I need help with and thus I have attached the source files. If that makes sense.