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

  • Home
  • SEARCH
  • 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 3936688
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:58:41+00:00 2026-05-19T23:58:41+00:00

Guys I am currently developing a web application, in which rules, which are basically

  • 0

Guys I am currently developing a web application, in which rules, which are basically sql queries are obtained from the DB and showed using Jquery sortable. These queries are running based upon a command Sequence (1,2,3) and Status (0,1,2 ..20 ). The command sequence tells you, in which order you have to run . Also the status field is helpful in knowing , whenever an error occurred. It saves the value 1 or 2 … or 20 , to help identify at which step it stopped. Below I have given a UI representation , my problem is that, when the user drags the rules, the cmdSequence and the Status have to updated in DB.

Ref Id   RuleNo  CmdSequence   Status
  1        1            1         0
  2        2            2         0
  3        3            1         1
  4        4            1         1
  5        5            2         2
  6        6            2         2 

if i am moving refId 6 before refId 1 then the CmdSequence and Status should be changed.
as below ,simillarly drag and dropping in the middle and last

Ref Id   RuleNo  CmdSequence   Status
  6        6            1         0
  1        1            2         0
  2        2            1         1
  3        3            2         1
  4        4            1         2
  5        5            2         2

i want to know how to implement in the server side , while data from browser comes from json.

  • 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-19T23:58:42+00:00Added an answer on May 19, 2026 at 11:58 pm

    You will have to detect the change and possibly be making several updates to the database after each user drags a rule up or down.

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

Sidebar

Related Questions

Hi I am developing an ASP.net web application. I need to find the current
I am developing a c# web application with VS 2008 where I am trying
I'm developing a C# web application in VS 2008. I let the user select
I'm currently developing a web app on Django/Python, and I consider moving to ASP.NET
PLEASE READ THE FULL QUESTION BEFORE POST YOUR ANSWER Hello guys! I'm currently developing
Ok guys I am developing an iPhone app I have a Model class which
I'm currently in the process of developing a digg-like Ruby on Rails application for
I'm developing an EMR Application as my project. there Im using WCF to transfer
Hey guys, I'm currently trying to implement a function using C that takes in
Guys, I’ve been writing code for 15+ years, but managed to avoid Web Development

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.