Description:
Is there any way to create, edit and delete objects from a database store if I'm using a read-only datasource (f.e. in Server or Instant Feedback Mode) to display data in XtraGrid?
Answer:
Although you can't create, edit and update data objects right in XtraGrid, there are some workarounds allowing you to perform editing when using read-only datasources. For instance you can use an additional dialog form or execute the required query manually.
These examples show you how to implement this functionality for each datasource:
1.How to implement CRUD operations using XtraGrid and XPInstantFeedbackSource
2.How to implement CRUD operations using XtraGrid and LinqServerModeSource
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.