🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.winforms.general
Article #33

Re: reading value from form

#33
From: Rob Windsor
Date: Mon, 02 Aug 2004 23:33
26 lines
1412 bytes
Add a property to MainForm.

public string ConnectString
{
    get {return oraConn.ConnectionString;}
}


-- 
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada


"gara" <mgarayev@gapinsaat.com> wrote in message
news:410e3788$1@newsgroups.borland.com...
>
> Hi ! could you help me
> I would like to read connection string from OracleConnection component
which stays in mainForm from seceond from2
>
> ex :
>
> string strConn = MainForm.oraConn.connectionstring;
>
> how can i do it ?
Technical Details
Message-ID: <410ecf40$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <410e3788$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efeb1,99fbaa3660387e83
X-Google-Attributes: gid1efeb1,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Rob Windsor" <rwindsor@NO.MORE.SPAM.bigfoot.com>
Newsgroups: borland.public.csharpbuilder.winforms.general
References: <410e3788$1@newsgroups.borland.com>
Subject: Re: reading value from form
Date: Mon, 2 Aug 2004 19:33:33 -0400
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 24.42.212.147
Message-ID: <410ecf40$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1091489600 24.42.212.147 (2 Aug 2004 16:33:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail