The mode does not change in the detailed view.

in the detail view, as soon as you press edit mode. all controls enter edit mode. I make changes and give updated data updated in the database. but all controls are in edit mode only "actaully, as soon as we give a click, then update, then I have to go back to read-only mode, so all values ​​should be displayed in the label field again"

I do this only in the .cs file does not use sqldatadource or data source object

right now this function is not happening to me. what is the problem?

waiting for a decision thanks

+3
source share
1

, , , .

myDetailsView.ChangeMode( DetailsViewMode.ReadOnly );
+2

Source: https://habr.com/ru/post/1723590/


All Articles