Getting connection information from vs 2008 generated code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    Getting connection information from vs 2008 generated code

    Hi

    I have developed a winform db app by dragging fields onto a form in vs 2008
    i.e. I have not written code to open db connection myself and instead have
    let vs 2008 generate that code under the hood automatically. My question is,
    is there a way to get a handle to the db connection created by vs 2008?

    Thanks

    Regards


  • Cor Ligthert[MVP]

    #2
    Re: Getting connection information from vs 2008 generated code

    John,

    If you don't want to write any code, then have a look at the created config
    file in XML.

    Cor

    "John" <John@nospam.in fovis.co.ukschr eef in bericht
    news:OtqQvfgZIH A.5900@TK2MSFTN GP02.phx.gbl...
    Hi
    >
    I have developed a winform db app by dragging fields onto a form in vs
    2008 i.e. I have not written code to open db connection myself and instead
    have let vs 2008 generate that code under the hood automatically. My
    question is, is there a way to get a handle to the db connection created
    by vs 2008?
    >
    Thanks
    >
    Regards
    >

    Comment

    Working...