Hi Denise,
This depends on the consumer.
DataGrid supports it, while simple controls apparently not.
I guess you are stuck with setting Enable property to false.
Example:
BindingManagerBase bmb = BindingContext[dataView1];
foreach (Binding b in bmb.Bindings)
b.Control.Enabled = false;
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
Denise said:
Have you tried this solution? I just spent the last 2 hours trying to get
this to work, and even when I scaled down to a very simple example, it did
not work. I was able to edit the fields even though the dataview's
AllowEdit property was false. Am I missing something?