I need a bit of help completing an ASP.NET 2.0 (VB) project.
The client needs the ability to re-order items in a database table (MS SQL) so they appear in the desired order in the site navigation.
## Deliverables
I need a bit of help completing an ASP.NET 2.0 (VB) project.
The client needs the ability to re-order items from a database table (MS SQL) so they can appear in the desired order in the site navigation.
I've added a field to the table to hold the order number, and at present, they would need to enter the number manually into a textbox to set the order.? This isn't ideal, so what I'd like? are "move up" and "move down" buttons at the end of the Gridview, which would allow them to re-order the items, by changing the order field automatically, and? writing this to the database.?
The end result would be that the front-end navigation would be displayed in the order they specified within the admin section.?
I've added the buttons to the Gridview, I just need help implementing them, and doing the necessary work in the code-behind page to re-order the items.