Duration: 18 minutes
Summary: In this video, we start our discussion of data access. We are creating controls on the base that gets its data from a source. That source could be a database, XML File… The main controls we are discussing here are the list controls (BulletedList, CheckBoxList, DropDownList, ListBox, RadioButtonList). Once we place the list on the page, we need to bind it to its data source. We add a database under the App_Data folder, and through the server explorer in Visual Studio we add a table to the database (the Items table). We use the UI to add the columns we needed (Id and Item) and the rows. Once we are done, we bind the list to the database records by selecting the data source and the connection string.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, BulletedList, CheckBoxList, DropDownList, ListBox, RadioButtonList, Database.mdf, DataSource.