I use AccessDataSource1 connect MS-Access.
I use GridView1 bind to AccessDataSource1.
Properties of GridView1. I config AutoGenerateEditButton = True
And Run
When I click Edit button then Show Update button and Cancel button.
I Click Update then Error
Updating is not supported by data source 'AccessDataSource1' unless UpdateCommand is specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSupportedException: Updating is not supported by data source 'AccessDataSource1' unless UpdateCommand is specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Please Help me. I am Novice.
Thank u