Everything you wanted to know about parking but were too shy to ask . . . . . .

       



 
About Parking :
 
» HOME
» Domain Parking
» Auto And Trucks

» Business And Finance

» Computers And Internet

» Education

» Family

» Food And Drink

» Gadgets And Gizmos

» Health

» Hobbies

» Home Improvement

» Humor

» Kids And Teens

» Legal

» Marketing

» Men

» Music And Movies

» Online Business

» Parenting

» Pets And Animals

» Politics And Government

» Recreation And Sports

» Relationships

» Religion

» Self Improvement

» Site Promotion

» Travel And Leisure

» Web Design

» Women

» Writing

»
»
» Random Quotes
» Best Websites
 
Great Websites :
 

Aesop’s Fables

Fun & Games

Advertise Here

Amusement

Best Baby Names

Christmas Jokes

College Humor

Complete Nonsense

Fairy Tales

Famous Poems

Famous Quotes

Flowers

Framed Posters

Free Diet Plans

Free Song Lyrics

Free View Webcams

Friendship Quotes

Funny Cat Pictures

Funny Cats

Funny Jokes

Funny Jokes Online

Funny Pictures

Funny Poems

Funny Quotes

Ghosts

Ghost Pictures

Ghost Stories

Glaswegian

Healthy Recipes

Humorous Scripts

Humor Posters

Inspirational Poems

Insult Generator

Jokes

Knock Knock Jokes

Lighthouses

Limerick Poems

Limericks

Love Poems

Fantasy Books

Mockery

Model Posters

Movie Posters

Names Meanings

Rabbie Burns

Not Mensa

Parking

Photographs

Poet

Poker Articles

Posters

Quotations Online

Random Words

Riddles

Riddles Online

Odd Jokes

Spam

Sports Posters

Duck Webcam

Strange Laws

Stupid Laws

Tongue Twisters

Top 100 Baby Names

Trophies

Vodka

Webmaster Articles

Weird Animals

Weird Facts

Weird Websites

Weird

Whisky

Wine

Work From Home

Worst City

Worst Jokes

Worst Killers

 
 
 
 
 
Parking.gs
 

Facts and Articles on Parking and Other Interesting Topics

TOPIC: Computers And Internet

TITLE: Connecting and Accessing Data through ADO.NET

Article:

Connecting and Accessing Data through ADO.NET by: Pawan Bangar

Microsoft's ADO.NET technology offers a solution to many of the problems associated with data access.

Accessing data has become a major programming task for modern software programming, both for standardalone applications and for web based applications. Microsoft's ADO.NET technology offers a solution to many of the problems associated with data access.

ADO.NET is an improvement to Microsoft ActiveX Data Objects (ADO). It is a standards-based programming model for creating distributed data-sharing applications. ADO.NET offers several advantages over previous versions of ADO and over other data access components. These benefits fall into the following categories:

Interoperability

Maintainability

Programmability

Performance.

Connecting to a database:

For performing and operation we need to connect to a database. This is done automatically through ADO connection, of which code is associated with VS.net Programming environment.

Connecting Database

sharp1.cs class xyz1 {

public static void main()

{

try

{

System.Data.ADO.ADOConnection s;

S=new System.Data.ADO.ADOConnection();

System.Console.Writeline('C-Sharp);

}

catch(System.Exception e)

{

System.console.Writeline(e.ToString());

}}}

Above program can be compiled through command line at DOS promot giving command line option as /r:System.Data.Dll

Because the code for ADO.Connection is available at this DLL. The above program consists of an object s resembling as System.ado.adoconnection .

Thus we are creating the object s by the statement:

System.Data.ADO.ADOConnection s;

From the output it is clear that the constructor has thrown no exception, as otherwise catch block would have been executed.

About The Author

Presently working in the capacity of the Technical Director of Birbals, an e-consulting firm based in India dedicated in providing innovative and effective web, Hospitality and consultancy services to public, private and non-profit organizations. Successfully founded Birbals and other IT companies like Ebirbals and SeoBirbals.

This article was posted on April '16

<-- Previous     |     Next -->

 

If you found "Connecting and Accessing Data through ADO.NET" interesting then check out our other :

Parking Facts and Other Articles

 
Parking.gs
 
 
 
Interesting :
 

 
 
   
 
© Website Design Copyright 2009 by Parking.gs