Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> [SOLVED] TypedView Always Read Only?
 

Pages: 1
Bugs & Issues
[SOLVED] TypedView Always Read Only?
Page:1/1 

  Print all messages in this thread  
Poster Message
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# Posted on: 21-Sep-2004 16:14:46.  
We are using a TypedView to bind to a DataGrid. When the user makes a change to one of the values in the grid, we make the necessary database update and then want to display the modification in the grid. But when we attempt to update the field of the DataView, it throws an exception that it is read-only.

It is not desirable to refetch the entire contents of the TypedView on each update because it is a large amount of data. Is there any way for a bound TypedView to be read/write?
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37804 posts
# Posted on: 21-Sep-2004 17:08:04.  
It is set to readonly internally. You can make it writable by setting the ReadOnly property of all DataColumn objects in the typedview object to false. (or the ones you want to make writable)

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.