ASPx Data Updating Event Args e) Hi Long, This is actually a LINQ issue and you will find similar reports in the MS Site: you wish us to research your situation in detail, we need a sample project which is possible to ruin and debug.
Thanks, Plato Hi Long, The LINQ data source stores previous values in its own View State and checks them before the update, to avoid update failures. With best regards, Dmitry Setting Linq Data Source.
When using the second or third approach, you can refresh the grid content inside an Update Command event handler.
The following examples illustrate these techniques. They both use the same grid declaration: Private Read Only Property Grid Source As Data Table Get Dim obj As Object = Me.
A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.To access the original values of non-key fields in a row, use the e. Please take a look at the linked An editable ASPx Grid View in LINQ Server Mode Code Central example to learn more how to bind the ASPx Grid View control to Linq Server Mode Data Source and provide the capability of editing the ASPx Grid View. Old Values to make Linq Data Source/Server Mode to update the datasource.See Also: How to implement editable master-detail ASPx Grid View bound to a Linq Server Mode Data Source Is it possible to have Linq Server Mode Data Source work with Inserts, Update, Deletes on an Aspx Grid when using an MSSQL View as the table source? The problem exists only on Windows 2003 Server (as development machine) and the problem is that collection e. But you can't do that (Win2003) because you can't get any value by Hello Dmitry, Thanks for the clarification.I catch a data on Aspx Grid View Focused Row in server side.And if this data equles 0, I want to invoke update for this row.Hi Long, I've made a very simple project for you. In the project, you'll find two grids with two Linq Data Sources.