Thanks Peter,
I told the Boss this today and he said he would make a database
available to use sqlclient against. I tried using
System.Reflection, I also thought about using tlbimp.exe to get
wrapper classes but I rapidly realized I was wasting my time.
> From: "Peter Brunone" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, January 07, 2005 12:49 PM
> Subject: RE: [AspNetAnyQuestionIsOk] Re: Sticky Wicket: C#.NET
calling ADODB
>
>
> >
> >
> > Doesn't look possible to me, without a lot of misplaced effort
> > anyway.
> >
> > I'm sure you're right about what he said, but this guy does NOT
> > need to be giving technical instructions in an environment that
he
> > doesn't understand. He's the manager, you're the programmer.
Anyone
> > with a day of experience with .NET database operations would
tell you to
> > rewrite this function for OleDb (it would take about 15 minutes
if you
> > use the examples on LearnASP.com).
> >
> >
> > -----Original Message-----
> > From: scaevola637 [mailto:[EMAIL PROTECTED]
> >
> > HERE is one function that needs converting from vbscript to C#.
the
> > namespace is ADODB, which is guess is what everyone used in
> > Classic ASP before ASP.NET. I guess I need a book on Classic
ADO. The
> > instructions are to Keep using ADO but rewrite into C#.NET. I
> > am not sure it can be done.
> >
> > function OpenAFCPT()
> > set adoAFCPT = server.createobject("ADODB.Connection")
> > adoAFCPT.commandtimeout = dbCommandTimeOut
> > adoAFCPT.open dnsAFCPT, usrAFCPT, pasAFCPT
> > set cmdAFCPT = Server.CreateObject("ADODB.Command")
> > cmdAFCPT.ActiveConnection = adoAFCPT
> > cmdAFCPT.CommandTimeout = dbCommandTimeOut
> > cmdAFCPT.CommandType = adCmdStoredProc
> >
> > end function
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/