If you use the wizards, you still have access to the data source's Update,
Insert, and Delete commands (in addition to the select commands). Of course,
you'll need to select the appropriate methods on your object for each
command and ensure the proper arguments are being supplied.
If you don't want a data source control, just set the GridView's DataSource
property in your page's Load event and call DataBind.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"Tim Tafflinger" <(E-Mail Removed)> wrote in message
news:82A6B848-6F7E-43BF-9B96-(E-Mail Removed)...
> I've created a DAL and can use the methods to load and manipulate data in
> a
> gridview when it is bound to an objectdatasource. But I've been told with
> a
> DAL I don't need an objectdatasource at all but I'm having difficulty
> figuring out how to do it. Loading the data in the gridview is no
> problem,
> it's the updating and deleting that won't work. When I click on the Edit
> or
> Delete buttons I get an unhandled event error so apparently I need to use
> those events somehow but haven't been able to figure it out and all the
> examples I can find use an objectdatasource. Can someone point me in the
> right direction?