Welcome to weblogs.com.pk Sign in | Join | Help

IP Works! ADO.NET Data Provider

I have been working with an ISP (Internet Service Provider) for quite some time, and it’s been fun working for them. I had been exposed to different internet related protocols, like DNS, SNMP, NTP, SMTP, POP3, IMAP4 etc.


Programming with these protocols was never straightforward. But not anymore, now with .NET, you can write couple of lines to do magic. Here is a piece of code from my “FUN” project.


System.Data.IDbConnection con =


@"protocol=imap; mailserver=mail.mydomain.com;

user=info@mydomain.com; password=mypassword");

System.Data.IDbCommand cmd = con.CreateCommand();

cmd.CommandText = @"select messageid, messagefrom, messagesubject,

messagedate, messagesize from inbox";

System.Data.IDataReader dr = cmd.ExecuteReader();

//Bind this IDataReader with some grid


And this all could be possible because of the native ADO.NET provider from /n Software, the maker of popular IP Works!


This post may seems like I am doing some marketing of their product, but I just couldn’t resist myself posting about it. I never saw the usage of ADO.NET other than routine RDBMS and XML.

Published Saturday, December 18, 2004 4:53 PM by khurram
Filed under:


# re: IP Works! ADO.NET Data Provider

Saturday, December 18, 2004 4:58 PM by khurram
Dont you think System.Data.IDbConnection should be System.Data.IDataConnection :)
New Comments to this post are disabled