Hi
i am doing the exact same thing. I retrieve a non primary key from the datakeys. I works great
but
when i implement an update method to the gridview i have an issue.
Well the column i have put in the datakeys collection is added to the parameters passed to the object_datasource update function as "original_NAME OF THE COLUMN"
and when i click on the updated button, i get an error
Object of type 'System.DBNull' cannot be converted to type 'System.Int32'.
it looks like thoses original_... values are not set properly.
can someone help me please ?
thanks
Dan