Microsoft
Software
Hardware
Network
Question : how to make store procedure to keep order in an table
I have a table which contains Controls Name and their order.
I am adding these controls according to their order under two divs on my asp.net page.
User can drag one control from any div and drop it on any div. These needs to change the order of that control so that next time when user comes back the control will appear on the same position where it was dropped last time.
I am not able to write a store procedure to accomplish that.
This is what I am trying to do,
If user has dropped a controls to column to then I need to arrange the order of all controls that comes below that so that the order remain correct like 1,2,3...
And same thing if user dropped a control on the same column and try to the order of the control
Table Structure
ID Name Column Order
1 Contolr1 1 1
2 Contolr1 1 2
3 Contolr1 1 3
4 Contolr1 2 4
5 Contolr1 2 5
Answer : how to make store procedure to keep order in an table
I will suggest you to use web parts to place your controls.
Otherwise it would been a cumbersome task to identify and store the location of each control in db.
Random Solutions
FAXCOOLWAREZ037 192.168.1.38 00-1A-73-C3-39-8A
Bad Request error
dlookup with ' in the text does not work
Register window DLL Remotely
oracle error: ORA-01665: control file is not a standby control file
assignment format.
Exclamation Mark On Network Card After Virus Removal
XP Compatibility Mode - Intermittant - Drives mapped to Host Machine don't work
how do I conditionally format number in query result to show red if negative
Network issues loading company web-site