Updating access database using asp

These controls allow page developers to declaratively access and modify data without writing any code to perform the data access. For example, to display the contents of a database table in a web page with ASP. NET 2.0, data can be accessed entirely from declarative markup.

updating access database using asp-21

The code to connect to the database, issue the command, and retrieve the results is handled internally by the Data Source control.

With the declarative, "code free" Data Source controls you can create a page that displays database data in under 15 seconds and without having to write a line of code. Both controls have virtually the same featureset, the only difference being how you specify the connection information.

In fact, the Access Data Source control is really superfluous since Microsoft Access databases can be accessed through the Sql Data Source control just as easily.

Why this code is updating all the rows in the database? //Update Customers private void button5_Click(object sender, Event Args e) { string str2 = contact First Name Text Box.

Text; string str = "UPDATE Customers SET Contact First Name = ?

Last modified 22-Dec-2014 11:38