HighTechTalks DotNet Forums  

DataGridView - ReadOnly

Dotnet Framework (WinForms DesignTime) microsoft.public.dotnet.framework.windowsforms.designtime


Discuss DataGridView - ReadOnly in the Dotnet Framework (WinForms DesignTime) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Nick Locke
 
Posts: n/a

Default DataGridView - ReadOnly - 10-06-2007 , 05:06 PM






I have a DataGridView column which will not allow me to set ReadOnly=False.
I can change the setting from True to False in the designer but, as soon as
I click OK and then go in and look again, it has gone back to True.

The underlying SQL which feeds the DataSet, BindingSource, etc is not
updateable. I suspect that might be the cause of what I am seeing.

In this case, I need the user to be able to change values in the
DataGridView, although they will never get written back to the database
through the BindingSource, TableAdapter, etc.

Clues on how to get ReadOnly=False to stick would be greatly appreciated.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.