Related Links

Featured Links





Recommended Products



 

 
Featured Articles

Clever Profit Growth Software
Are you truly using technology in your web business? Before you answer yes, stop a moment and consider how many promotion or marketing tasks take place at your website without you lifting a finger. Perhaps your site signs up new opt-in subscribers for ...

Identity Theft Article – A Phisher Is Trying To Steal Your Identity!
Sooner or later everyone with an email account will receive a phishing attempt from some internet scammer. What is phishing? How can you protect yourself? These are some of the questions this identity theft article will provide, along with some free ...

Microsoft RMS Customization – PO Items Receiving in Great Plains
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail and accounting/ERP solutions coming from the same Microsoft subdivision – Microsoft Business Solutions. There is often common need to do integration between the two. Despite the ...


Google
Connecting and Accessing Data through ADO.NET
 

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.

News



AsiaOne

Software piracy in China declined in 2011
AsiaOne
Less than 40 per cent of software installed on computers in China was pirated in 2011, a decline of 3 percentage points from the previous year, according to Chinalabs.com, a consulting and research company. The software piracy rate dropped from 41 per ...
Software piracy in China dipped in 2011UPI.com

all 6 news articles »

Medical Daily

Tongue Analysis Software Uses Ancient Chinese Medicine to Warn of Disease
Science Daily (press release)
Now, University of Missouri researchers have developed computer software that combines the ancient practices and modern medicine by providing an automated system for analyzing images of the tongue. "Knowing your zheng classification can serve as a ...
New Software to Analyze Health by Tongue ScanMedical Daily

all 10 news articles »

Hot Hardware

Facebook May Buy Opera Software, Still Totally Not Planning to Expand Into Mobile
Hot Hardware
The latest Facebook acquisition rumor concerns Opera Software, whose desktop and mobile browsers have plenty of ardent fans but have been hovering around a percent or two of the browser market share for some time. According to Pocket-lint, ...
Facebook Rumored to be Thinking of Buying Opera SoftwareTom's Guide
Browser wars flare in mobile spaceEconomic Times
Facebook's Acquisition Appetite Continues: Is Opera Software Next?ValueWalk
Newstrack India -VentureBeat
all 69 news articles »

PanARMENIAN.Net

Microsoft Plagued by Software Piracy
PCWorld
Perhaps Microsoft could reduce piracy by pricing its software more "reasonably"?Windows is by far the dominant operating system in use around the world, and the Microsoft Office suite has a virtual monopoly on the productivity software market.
Microsoft requested Google to remove 500000 links to pirated software in AprilDeccan Chronicle
Microsoft asks Google to remove 500000 pirated software links from indexPanARMENIAN.Net
Microsoft tops Google Search takedown listZDNet UK

all 408 news articles »

Excel Software Ships LicenseSupport 2.0 for Software Support and License ...
PR.com (press release)
LicenseSupport 2.0 adds major enhancements to the programming interface for the new Safe Activation Service 3 used to activate protected software and manage licenses. LicenseSupport includes an application used by a customer support person and the Safe ...