Sunday, June 1, 2025

How to use ObjectDataSource in asp.net with Model or business object and controller or login layer

 >Add object datasource from controls in visual studio

> Add TypeName Property(class name .cs file) where you have get, update and delete methods.

>Click on configure data source and select dataset or typename file and you will get select insert update delete methods and click on finish and use this object datasource id in grid view or other controls. 

No comments:

Post a Comment