I'm using Visual Studio 2008 to create an ASP.Net app. I created a datacontext and I reference it in a LinqDataSource control. Then I bind a gridview control to the LinqDataSource control. When I run the app, my data is presented in the gridview. The gridview has an 'Edit' button which I click and then I change some text in the gridview. Then I click the 'Update' button provided in the gridview and get this error:
>> The data context used by LinqDataSource 'LinqDataSource1' must extend DataContext when the Delete, Insert or Update operations are enabled. <<
Does that mean I can't use the DataContext for inserts/updates via the ASP.Net LinqDataSource control? Or is there something else I need to do?
Thanks,
Al