Actually PageIndex is the right method to call. If you do
DetailsView1.PageIndex = TextBox1.Text - 1
It will bring you to the correct page, not based on the id though as ID 55 could be on page 53 in case 2 id's have been deleted. The -1 is because the PI is zero based.
Basically, when you enter say 55, you want to be on PAGE 55 not call the ID 55 right? If you want to make that ID based you set the Datakeyvalues easier yet, create a view using the new SQL 2005 Rownum methods and index based on the Row Number, that way you are always in synch.
Edited by michael - 29 November 2005 at 4:05pm