objectdatasouce

ObjectDataSource Insert throws an Error (using Business Objects)

Hello, Quick overview Trying to insert a Business Object using ObjectDataSource (on a GridView) Get the following Error ObjectDataSource 'ObjectDataSource1' has no values to insert. Check that the 'values' dictionary contains values. Project SetUp Person - simple dummy Business Object (Name and Age) PersonBinder - Holds the metho...

ASP.NET ObjectDataSource, change CommandName property of FromView Button

I have an ObjectDataSource that I'm using with a FormView, and it works fine, but i want to change one small thing. On the FormView the button that fires the update has the CommandName attribute set to "Update," but I would like to change that attribute to something other than "Update" - when I do change that attribute the update no lon...

How do I tell if the ObjectDataSource OnSelected event was called for the selectmethod or selectcountmethod?

I have an object datasource that looks like this: <asp:ObjectDataSource ID="obdsList" runat="server" EnablePaging="True" SelectCountMethod="GetCountByID" SortParameterName="sortExpression" OldValuesParameterFormatString="original_{0}" SelectMethod="GetByID" TypeName="Services.Users" onselected="obdsList_Selected"> <Se...