locked
time slots booking based on asp.net RRS feed

  • Question

  • User1242236166 posted
    Im doing a appointment booking site for a project

    And Im trying to disable radio button(s) if the sql statement returns true.

    Example:
    User selects a date from asp calendar and a timeslot is in the form of radio button I wanted that the count of radiobutton selection should be stored in SQL and if it exceed count data in SQL the radiobutton should be disable na back color should be red , plzz anyone can help me with this its urgent I am stuck in this project


    For example the 10 user can select the same time slot so I was thinking that how the selection count can be stored and then based on SQL query it can be disabled plzz help me I would be very grateful
    Saturday, March 12, 2016 5:31 AM

Answers

  • User61956409 posted

    Hi Manisha,

    Before you make a booking, you could check the booking number from your database to make sure whether some bookings are available at a specific time slot. Besides, if you’d like to update available booking number in real time, you could try to use ASP.NET SignalR.

    http://www.asp.net/signalr

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 14, 2016 7:39 AM