On a page i read some data in a sql database which is ordered by a placement
field. - for each record i load a usercontrol which i put on a page.
Each Usercontrol contains 4 imagebuttons.

2 of those imagebuttons handles in which order the data should be read. On a
click on button1 the clicked record should be moved 1 position up(When i
click the button i make a databaseupdate which set placement=placement-1 on
the currentrecord, and placement=placement+1 on the previus record).

My Problem is that I the Onclick first fires after the i have read the
records which result in that the data isnt presented in the right order.

Hope anyone can help me.

Regards Keld Jakobsen