ListView Control in ASP.NET 4.5


chsakell's Blog

ListView control is probably the best among all data bind build-in controls in ASP.NET Framework. It is used extensively by ASP.NET Web Forms developers and is preferred between other similar controls, such as the GridView or the DataList. The reason why that happens is pretty much simple. It supports all the CRUD operations for your data-binded items plus is fully customizable. There is one drawback though: you need to know exactly how ListView control works with other controls such as the Data-Source controls and despite the fact that Visual Studio allows to configure the control via the Design mode from the Smart Tag, the most times you will need to change the generated code in order to function properly. Rather than talking let’s create a Web Form where we will use a ListView control to support CRUD operations for our items. To give you a taste about how…

View original post 1,647 more words