
- Forum
- Programming Talk
- Microsoft .NET
- Updating null value fields in DetailsView
Updating null value fields in DetailsView
This is a discussion on Updating null value fields in DetailsView within the Microsoft .NET forums, part of the Programming Talk category; Hi I have master/detail web forms and form1 has a GridView and form2 has a DetailsView. I have some filelds ...
-
Updating null value fields in DetailsView
Hi
I have master/detail web forms and form1 has a GridView and form2 has a DetailsView. I have some filelds on the DetailView with null values in some records and when I try to update those records by entering some data, DetailsView is not updating the backend database. I am not getting any eorror message either. If any record with all fields populated with some values when initially displayed in DetailsView gets updated fine.
I am using SQLServer datasource and the table accepts Null values in the fields that are giving problem.
I am hoping someone would help me out with this problem.
Thanks in advance.
-
hi..its a common problem when people use DetailsView and are not able to update the NULL value fields through it.
While configuring the DataSource, please be sure to uncheck the "Use Optimistic Concurrency" option under the Advanced Settings.
Your updates on NULL value fields should work fine now.
HTH!!!

Reply With Quote





