How to generate data access layer with the help of dataset
i hard that with the help of typed dataset data access layer can be generated. how to generate such data access layer from where we can do the ope开发者_运维技巧ration like add/edit/delete/search data from store procedure and also send parameter. if anyone knows then please discuss in detail. thanks
Save yourself some time and frustration. Use the ADO.NET Entity Framework for your data access. It is the direction Microsoft is going and it is much easier to use and flexible than Typed DataSets. I've used both and can say that once moving beyond typed DataSets I've never looked back.
The very first tutorial in the lenghy series ASP.NET Data Access Tutorials will tell you how to do exactly that, using strongly-typed DataSets. That series contains details for building an extensive variety of web pages with various editable grids and master-detail pages using ASP.Net 2.0 technology and controls.
Details of creating editable web pages begin here.
精彩评论