Working With ADO.NET – 1

Assalamualaykum Wr Br…Today we start our journey towards ADO.NET. ADO refers to ActiveX Data Object
ADO.NET provides a bridge between the front end controls and the back end database. The ADO.NET objects encapsulate all the data access operations and the controls interact with these objects to display data, thus hiding the details of movement of data.

The following figure shows the ADO.NET objects at a glance:

We start a sample application that demonstrates the connection establishment to Database from Front-End.
Design the UI as follows:
The following code demonstrates the logic:
The output can be shown as:
Hope you Enjoyed the journey first phase..There’s a lot more…till then Enjoy coding…

2 thoughts on “Working With ADO.NET – 1

  1. Shiza February 26, 2015 / 6:34 am

    Marvelous introduction !keep going.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s