Updating is not supported by objectdatasource

Drag a column header here to group by that column # Connection Name Connection String ASKON Data Source=xxx.xxx; Initial Catalog=ASKON; Integrated Security=True; User ID=myuser; Password=Mypassword Connection Name Connection String Data Source=xxx.xxx; Initial Catalog=ASKON; Integrated Security=True; User ID=xxx; Password=xxxxxxx Update Cancel Object Data Source ' Object Data Source1' could not find a non-generic method ' Updatelex_Lex Reports_Connections' that takes parameters of type ' ENVYSYS. Hi Timothy, The "Specified Method is Not Supported" error message is shown when the ASPx Grid View tries to call the Update (Insert, Delete) command of its underlying Data Source, but this command is not specified.

Modules.lex_Lex Reports_Connections.lex_Lex Reports_Connections Info'. If you cannot define this command, handle the Row Updating (Row Inserting, Row Deleting) event, update the data source manually (the e.

" Select Command="SELECT [Order ID], [Customer ID], [Employee ID], [Order Date], [Ship Name] FROM [Orders]" Delete Command="DELETE FROM [Orders] WHERE [Order ID] = @Order ID" Insert Command="INSERT INTO [Orders] ([Customer ID], [Employee ID], [Order Date], [Ship Name]) VALUES (@Customer ID, @Employee ID, @Order Date, @Ship Name)" Update Command="UPDATE [Orders] SET [Customer ID] = @Customer ID, [Employee ID] = @Employee ID, [Order Date] = @Order Date, [Ship Name] = @Ship Name WHERE [Order ID] = @Order ID" The following articles describe how to configure some of the more common Data Source controls: For a tutorial that uses automatic CRUD operations feature, see Add controls to column templates.

What I would like is an example of using the edit form using code to extract the values and then perform some custom method and then close the form and update the grid.

I could attach the Update method to my datasource, but then it would just enable me to update the curernt record - however what I want to do is create a new record using some values from an existing record.

Hello Timothy, The ASPx Grid View requires a data source to load data from.

However, predefined Update, Insert and Delete methods are not required.

Search for updating is not supported by objectdatasource:

updating is not supported by objectdatasource-54updating is not supported by objectdatasource-84updating is not supported by objectdatasource-66

My preference is to manually intercept the Inserted, Updated and Deleted calls without specifying Ob Ject Datasource.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating is not supported by objectdatasource”