Duration: 15:33 min
Summary: In the previous video, we discussed how to retrieve the data from the web service. So the data was static in the web service in a list. This video (and the next) will discuss how to retrieve the data from the database. This series will continue by discussing inserting, deleting and updating data in the database. But today, we will start with the simple part of creating the database itself, which will contain only a single table (the Employee table). We will remove the static data from the service. We will also create a database (in the App_Data folder). We will add the Employee table to the database. The first step is the design the table itself. We have the Id, FirstName, LastName, Title and Salary columns that we need to add. Every column will have the appropriate type. The Id will be the primary key. And we will make the Id as an identity column. The seed is 1 and it will increment by 1. In the next video, we will modify the service to use the database to retrieve its data.
Technologies and Resources: jQuery, jqGrid, Visual Studio 2010, WebService, asmx, url, datatype, contenttype, colNames, colModel, pager, jsonReader, page, total, records, root, database, identity, varchar, decimal.