Updating database using asp net

The Data Source controls are a collection of Web controls designed to provide a declarative approach to accessing and modifying data.

updating database using asp net-52updating database using asp net-22

This article is one in a series of articles on ASP. NET 1.x, you'd need to write code to: While only five to ten lines of code is needed to perform these four steps, and libraries like the Data Access Application Block help reduce the volume of code that you need to write, the fact remains that in order to access or modify data in an ASP. In this article we'll be examining how to access data from databases with the Sql Data Source and Access Data Source controls.

The properties of each class map to the columns of a corresponding table in the database.

Each instance of a class entity represents a row within the database table.

Here is what i have tried so far Using Add With Value could lead to some subtle bugs.

For example if your column Last Modified Date is of datetime type you should pass a Date Time value as the second parameter in Add With Value, not a string.


Leave a Reply