Because then I have to code those extra features that the Grid View and Details View have that the repeater does not.
If I work it out by myself then I'll come back here and let you know so you know what to do in the future if you decide to use a Details View for something.
If you do the example without the Mode Changing event you get this error when you click the Edit button: "The Details View 'Details View1' fired event Mode Changing which wasn't handled." You don't need much ASP.
This article will show you how to use Details View control without using of SQLData Source data control.
In my previous article Details View Rich Data Control we have learned how to use Details View using SQLData Source data control...
Even when it does change mode, regardless of which control I hit, the program will randomly decide if it is going to go into edit mode or update mode.
So I might hit update and get the insert mode, or vice versa.
Find Control("txt Edit Email"), Text Box) '*** Country Code ***' Dim txt Country Code As Text Box = CType(my Details View.