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:
ado.net_objects

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

Advertisements

2 thoughts on “Working With ADO.NET – 1

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

    Marvelous introduction !keep going.

    Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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