Top "Objectdatasource" questions

ObjectDataSource control acts as a data interface for databound controls such as: GridView, Repeater, FormView and DetailsView.

Gridview disappears on postback when paging is enabled

I have a gridview that has its DataSourceID property set to a custom ObjectDataSource object. When AllowPaging is set to …

asp.net gridview postback paging objectdatasource
How to change the SelectMethod of ObjectDataSource programatically?

Suppose I have a given ObjectDataSource, this objectdatasource "SelectMethod" property is set to "GetProjectsByUsername" of a class Project and accepting …

c# asp.net objectdatasource
asp.net objectdatasource pass parameter from control as well as textbox

I have configured a GridView to fill data by an ObjectDataSource. This ObjectDataSource requires only one parameter which is bound …

c# asp.net parameters textbox objectdatasource
Can't see or add Website Data Sources in RDLC report in ASP.NET MVC

In the RDLC report, in Design view in Visual Studio 2008, we don't see anything in the Website Data Sources tab …

reportviewer rdlc objectdatasource
How does FormView EditTemplate update values in ObjectDataSource UpdateParameters under the hood?

I have a FormView bound to an ObjectDataSource. * ObjectDataSource definition (omitted portion of it for simplicity)* <asp:ObjectDataSource ID="…

c# asp.net objectdatasource formview
ObjectDataSource could not find a non-generic method that has parameters:

I'm trying to use a Gridview to show a datatable from an Object data source. It's giving me the error: …

asp.net vb.net objectdatasource dataadapter
Using ObjectDataSource and DataObjectTypeName, How Do You Handle Delete Methods With Just An Id Parameter?

If I have an ObjectDataSource setup like: <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DataObjectTypeName="Employee" InsertMethod="Insert" UpdateMethod="Update" …

c# .net asp.net vb.net objectdatasource
SSRS: Master-detail report with two datasources

I have two local data sources that I can push into the report. Works no problem. But how do I …

c# reporting-services report objectdatasource
Visual Studio won't update properties of my Data Source

I am using my class "Invoice" as a Data Source. But after adding more properties to it, Visual Studio refuses …

c# visual-studio visual-studio-2010 datasource objectdatasource
GridView with ObjectDatasource UpdateMethod

I have an ASP.NET WebForms page containing an ASPxGridView and an ObjectDataSource: <dx:ASPxGridView ID="gvEmployees" runat="server" …

c# asp.net entity-framework devexpress objectdatasource