Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how can i make an appointment schedulling in c#

how can i make an appointment schedulling in c#

Scheduled Pinned Locked Moved C#
questioncsharphelp
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mjee
    wrote on last edited by
    #1

    we'll be making an appointment schedulling for doctors.. it should display a table: columns - doctor's name rows - time slots everytime we'll enter a new appointment, it will be displayed in the table.. can somebody help us?? :confused::confused::confused::confused:

    S J 2 Replies Last reply
    0
    • M mjee

      we'll be making an appointment schedulling for doctors.. it should display a table: columns - doctor's name rows - time slots everytime we'll enter a new appointment, it will be displayed in the table.. can somebody help us?? :confused::confused::confused::confused:

      S Offline
      S Offline
      sunspeed
      wrote on last edited by
      #2

      sorry, whats the exact problem?

      Tiefe Brunnen muss man graben wenn man klares Wasser will, tiefe Wasser sind nicht still.

      M 1 Reply Last reply
      0
      • S sunspeed

        sorry, whats the exact problem?

        Tiefe Brunnen muss man graben wenn man klares Wasser will, tiefe Wasser sind nicht still.

        M Offline
        M Offline
        mjee
        wrote on last edited by
        #3

        how can we make that appointment table?

        R S 2 Replies Last reply
        0
        • M mjee

          how can we make that appointment table?

          R Offline
          R Offline
          Rupesh Kumar Swami
          wrote on last edited by
          #4

          hi mjee, I think you want to store doctor Name and Appointment time in each row.If am i right,then make a table(in databsse) which contains the column DoctorName(Text Type) and AppointmentTime(Date time Type) hope this helps

          Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company

          1 Reply Last reply
          0
          • M mjee

            how can we make that appointment table?

            S Offline
            S Offline
            sunspeed
            wrote on last edited by
            #5

            do you want to show it like a matrix?

                |   Dr. 1   |   Dr. 2   |   Dr. 3  |
            

            ...
            09:00 | Mr. 1 | ---- | ----- |
            09:30 | ----- | Mr. 2 | ----- |
            ...

            Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

            S 1 Reply Last reply
            0
            • S sunspeed

              do you want to show it like a matrix?

                  |   Dr. 1   |   Dr. 2   |   Dr. 3  |
              

              ...
              09:00 | Mr. 1 | ---- | ----- |
              09:30 | ----- | Mr. 2 | ----- |
              ...

              Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

              S Offline
              S Offline
              Shani Natav
              wrote on last edited by
              #6

              You can make a class the inherits from DataTable: and make an initializing method where you put som ething like TableName = , add columns and dump to xml. you can load it next time, and put it as GridView datasource.

              1 Reply Last reply
              0
              • M mjee

                we'll be making an appointment schedulling for doctors.. it should display a table: columns - doctor's name rows - time slots everytime we'll enter a new appointment, it will be displayed in the table.. can somebody help us?? :confused::confused::confused::confused:

                J Offline
                J Offline
                J4amieC
                wrote on last edited by
                #7

                Can I suggest you start out by having a good think about your database. It is the core of any application like this and unless you get this bit right early on you will struggle to enhance the system. To get you started I would initially approach this with 3 tables. Doctor ====== DoctorId - INT - NOT NULL - IDENTITY - PRIMARY KEY DoctorName - NVARCHAR(200) - NOT NULL (You can add other columns here later as needed) Surgery ======= SurgeryId - INT - NOT NULL - IDENTITY - PRIMARY KEY SurgeryName - NVARCHAR(200) - NOT NULL (Other columns here too eg/ opening times) Appointment =========== AppointmentId - INT - NOT NULL - IDENTITY - PRIMARY KEY DoctorId - INT - FOREIGN KEY (Doctor) SurgeryId - INT - FOREIGN KEY (Surgery) AppointmentDateTime - DATETIME (Other columns here if necessary) That should get you started on the Db structure, and easily allows you to pull out all records for a particular doctor, or surgery, to display in a grid.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups