We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind data from ObjectDataSource control to Grid DropdownEdit Column?

To bind the ObjectDataSource to the Grid columns, SelectMethod of the ObjectDataSource can be used. DataObjectMethod of the ObjectDataSource is defined and later in the required place, its data can be utilized. In the Page_Load method, Columns DataSource can be assigned with the ObjectDataSource. This has been discussed in the following steps.

Render the Grid and ObjectDataSource:


Assign DataSource to the Grid and Required Columns:


Under App_Data folder, place the DataObjectMethod definition with the TypeName property of the ObjectDatasource.



Figure: Grid with Dropdown bound from ObjectDataSource.

Article ID: Published Date: Last Revised Date: Platform: Control:
8917 07/06/2018 07/06/2018 ASP.NET Web Forms Grid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon