DataGrid Update problem

VonEhle

Active member
Joined
Feb 20, 2006
Messages
26
Programming Experience
Beginner
I have a webpage I made that contains a datagrid. I added the Edit & Delete buttons automatically through the properties of the datagrid. Anytime I make a data change and click the automatically updated "update" link, I get the following error:

Updating is not supported by data source 'adsCustomers' unless UpdateCommand is specified.

From what I've read, adding the links through the properties of the datagrid should have taken care of this. What am I doing wrong?
 
It sounds like that you have a dataset which is missing its UpdateCommand. Why dont you Response.Write(adsCustomers.UpdateCommand.CommandText) or somehow verify that the dataset has its commands set correctly.
 
Back
Top