Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Shared Connection in VB.NET

Is there a better way to use the design-time controls in Visual Studio.NET for maintaining a connection to a database than dragging the connection from the server explorer for each form? I want to be able to create a global connection object and have it available to me within each new form I create. More specifically, I want to be able to use design-time controls with the "global connection" so I still get the benefits of data previewing and so forth.

Comments

  • Justin BibJustin Bib USAMember Posts: 0

    ____ // http://forcoder.org // free ebooks and video tutorials about ( Visual Basic .NET, Scratch, C++, Visual Basic, R, PL/SQL, MATLAB, JavaScript, C#, C, Objective-C, Java, Perl, Assembly, PHP, Python, Go, Delphi, Ruby, Swift Scala, Scheme, SAS, Bash, ABAP, Lisp, Lua, F#, Julia, Alice, ML, Transact-SQL, Prolog, VBScript, Kotlin, Fortran, Apex, Rust, Erlang, Logo, LabVIEW, Awk, D, Crystal, Clojure, Hack, COBOL, FoxPro, Ada, Dart ) ______________

Sign In or Register to comment.