In the previous two articles (1, 2) we explained connecting to Microsoft Access database and writing to it, in C#.
Now we do that in ASP.Net.
For start create a new ASP.Net project. First of all we are creating two labels, two text boxes and one button with the following code (add it between the <div></div> tags)
So, lets define the event which is invoked by clicking on the button (add it above html tag)
<script><!--mce:0--></script>
When we run the script on ASP server we will get the following page

By clicking the button is invoked the button1_Click event and then the data written in the text boxes is recorded to database.
- Creating a Database Connection
- ASP.Net Web Site Sample
- Simple Data Entry In Microsoft Access Database
- Adding Items to ListView Control
- Creating a Windows Forms Application in C#
Enter your Name and Email below to subscribe and start 1 month free course now.








