AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() You dont need to write that much code for it, once you understand this magic. Most of the magic is done behind the scenes, by. The beauty of ASP.net 2.0 is that you can write "Zero Code" websites, with very very little modification to business objects. we will be sending only the data which is required to be displayed at the control. To limit the amount of data which is going to be travelling on the network, ASP.net 2.0 supports the paging at DataSource level i.e. To implement this functionality, we just need to set EnablePaging and PageSize properties on the GridView This means that a lot of data has to be travelled across the network, which may be decrease the efficiency of the application. The first approach leads to the fact that the control loads all the data from data source, then displays selected records based on current page number and page size of the control. Use the paging behaviour of the control (e.g.There are two ways through which we can implement paging in our application: ![]() ![]() So, for the purpose of keeping the things easier for you, I have used ObjectDataSource(it will be called 'ODS' for the rest of the article) control with XMLFile. This database connectivity always causes some problems, with some of you. I did this because, when you download some thing from internet saying connect to database. I have demonstrated some of the features of ObjectDataSource control with the help of an example, for which I could have easily used XMLDataSource control. The ObjectDataSource control is used to bind the controls to middle-tier busines objects. In this article, I have explored some features of ObjectDataSource control with GridView, which is shipped with ASP.net 2.0.
0 Comments
Read More
Leave a Reply. |