Re: Need connection code
From: nithin (nithin_at_discussions.microsoft.com)
Date: 10/31/04
- Next message: Stan the Mouse: "RE: How to Write into Excel"
- Previous message: jerry chapman: "Convert RDS to ADO"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 30 Oct 2004 22:01:01 -0700
the connection code for sql is as follows
<%@imports system.data%>
<%@imports.system.sqlclient%>
dim cnn as sqlconnection
cnn = new sqlconnection("connection string")
cnn.open()
the connection string can be obtained by creating a udl file .
to do so just open a notepad and save it with a ".udl " extension.
now open it move to connection tab, select the db and click test connection
. if the test connection succeeds, open the file using a notepad and just
copy paste the strng given
"Victor Koch" wrote:
> Hi Vinod
>
> http://www.able-consulting.com/ADO_Conn.htm
>
>
> --
> Víctor Koch From Argentina.
>
>
> "Vinod" <Vinod@discussions.microsoft.com> escribió en el mensaje
> news:492DDB34-5A30-4B72-A091-659CEAD279CF@microsoft.com...
> > Hi,
> > can some body send me connection code for ado.net with oracle and sql
> > also any project guide line so that I can make a dummy project in vb.net
> >
> > thanks
> > my e-mail address is vinod_103@yahoo.com
>
>
>
- Next message: Stan the Mouse: "RE: How to Write into Excel"
- Previous message: jerry chapman: "Convert RDS to ADO"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|