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
Looking for a Font
Cisco - Site to Site VPN - IPSEC
vbscript to extract "logon as a batch" "logon as a service" from a list of Servers
Deleting old backups in Symantec Exec Backup
Applying group sum to higher level
That's not contempt. THIS is contempt
What is implement in Caterpillar Skid Steer Loader?
Copy and Paste Data from different folder
The following recipient(s) cannot be reached
Set desktop wallpaper through Group Policy in SBS 2008