Skip to content

Bonnie-android/ASP.NET-Web-Services-SQL-Server

Repository files navigation

"# ASP.NET-Web-Services-SQL-Server"

JavaScript and AJAX using a web service This app calls a web service using JavaScript and AJAX. The web service will return a data set from a SQL Server database to the client. The web service calls a stored procedure on SQL Server called spGetStudentByID which retrieves a student record by ID. The student record is retrieved by the client webform using AJAX and the results are posted to the web page. To summarize, this ASP.NET web application calls a web service and the web service has ADO.NET code to retrieve data from a SQL Server database using a stored procedure called spGetStudentByID. A web service can work with any type of data store such as a relational database, XML, JSON, text based files etc.