Database driven Calendar

Discussion in 'C#' started by max_power, Sep 25, 2009.

  1. max_power

    max_power New Member

    Joined:
    Sep 25, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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:

  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Instead of attaching try posting code that you see as problematic.
     
  3. max_power

    max_power New Member

    Joined:
    Sep 25, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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. :eek:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice