Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7557585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:10:16+00:00 2026-05-30T12:10:16+00:00

I have an asp.net/C# application and backend as oracle. I need to use transactions.

  • 0

I have an asp.net/C# application and backend as oracle.
I need to use transactions. Below is the reqirement:

I have a table OrderDetails with columns as:
“OrderId” “Ordername” “OrderStatus”

All OrderNames are shown in front-end as radiobutton. Once radiobutton is checked, the status of that order should change to “In-Process” and on click of “Create Order” button on page, the status should change to “Booked”.

But in case radio button is unchecked or the Window is Closed, the status should change to “Available”.

Also, once radiobutton is checked, a timer should start in front-end. Timer duration should come from another table of backend. The Order can be kept “In-Process” only for that timer duration.

Any pointers on how I can achieve this functionality.

Thanks in Advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:10:17+00:00Added an answer on May 30, 2026 at 12:10 pm

    Here’ the basic outline:

    1. Whenever, order is checked, you need to fire a AJAX request that would trigger setting order into in-process status.
    2. Maintain a last-updated column in the order table that would now indicate time when order has moved into in-progress status.
    3. The AJAX request from #1 should return the timer duration and last-updated time to front-end js so that a time indication can be given to user. (you need to adjust server date-time to front-end date-time using half of round-trip time)
    4. If order is unchecked then AJAX request can be fired to change the order status back to Available.
    5. Create Order button can trigger AJAX request (or traditional ASP.NET post-back) to mark status as booked.
    6. Have a database job running sufficiently periodically so that in-progress orders can be flipped back to available based on time elapsed from last-updated. You may choose any other kind of scheduling (e.g. windows scheduler) to do the same clean-up.
    7. #6 should handle window-close scenario but you can always try to trigger a request to do the clean-up in different window (minimized) before closing the original window.

    AJAX in ASP.NET and updating Oracle database are pretty routing things and you should able to find a lot of information/tutorials on the web. Same for transactions – I would suggest using TransactionScope for easier handing of transactions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application written in C#/ASP.Net and the backend DB is Oracle.
I have an asp.net application and I need to have two sessions running at
I have a C# WinForms application with a database backend (oracle) and use NHibernate
I have a legacy application that uses the ASP.NET membership provider w/ SQL backend.
I have an ASP.NET MVC 3 application with a SQL Server 2005 database backend.
I have a SQL Server as backend for an asp.net application. Multiple people might
I have a newbie question. If in my asp.net application I need to query
I have a Silverlight application that communications with an ASP.NET backend through WCF. I
I have a ASP.NET application that connects to a SQL server backend on another
I have an ASP .NET web application which on the backend is talking to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.