Ok, i have created a BLL and DAL for a small photo album site i'm trying to create.

my ObjectDataSource uses the DataObjectTypeName of "Album", a class that i created and use a list of to bind to my GridView.

here is my problem, i have created select,insert,update, and delete methods and all work except for my delete method.

it worked when i first created it but now it just craps. i pass the Album.AlbumID to my DAL for the DELETE statement. what i have found is that the Album.AlbumID i am passing to my DAL contains zero for some reason and i can not figure out why!

thanks ahead of time!

-kayos