NET 2.0 :: An Overview of Inserting, Updating, and Deleting Data” ) :1.
Create the Table Adapters in the DAL (see Creating a Data Access Layer tutorial)4. It will return “could not find a non-generic method 'Update' that has parameters” error, which will list names and order of parameters that are required by gridview settings.
You can use the Object Data Source control to represent any object (any class that derives from the System. If the object does not support the IEnumerable interface, the Object Data Source control automatically wraps the object in a new object that supports the IEnumerable interface. NET List Box control with an Object Data Source (not that a List Box has any interesting methods).
Type Name property contains the name of the component that you want to represent with the Object Data Source control.
The fix will be available in the next VS release." https://connect.microsoft.com/Visual Studio/feedback/View Feedback.aspx? I need to set Updated By and Date Updated in the Row Updating event before updating a record. That said, the process you elaborated shines some light on a way to solve some problems. To John Ward -- At first I was trying to set values like this in the Row Updating event.
Later on I realized that I can set them in the SQL statement I build, or pass them as params to a SProc, using values derived elsewhere (but not from the Grid).
======== Object Data Source 'Movie Details' could not find a non-generic method 'Update Movies' that has parameters: movie Name, Release Date, synopsis, rating, language, film Color, rating ID, location City, location Country, category ID, film Company, movie ID, editor Review, original_movie ID ========================== I am not new to working with the object datasource control in but this has got me stumped.The Select Method property represents the method of the component that you want to call when selecting data.