Builing a Database conection dialog... the continuing saga.
From: Henry (hstock_at_onproject.com)
Date: 03/18/05
- Next message: Kevin Yu [MSFT]: "Re: custom paste context menu fvor text boxes"
- Previous message: Carl Frisk: "Re: SqlAdaptor and help"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Mar 2005 00:20:47 -0500
I have been trying to figure out how to build a database connection dialog
that I can then add to a couple of applications.
In an earlier message I asked if anyone could point to a way to build a list
of servers on the network as a drop-down box similar to what the ODBC
Datasources manager does. Someone pointed me to an article on Code Project
written by Phil Bolduc. The problem is that absent some more info, it does
not work.
His sample code has the following statement:
using NetworkManagement;
My system has no idea about what he is talking about...
I may have to add some external reference to make that work, but whatever it
is, the information was not mentioned in the article.
I want to do two things in my dialog that are difficult:
I want to build a drop-down list of available SQL Servers on a network, and
I want to build a list of database on a specified server when it is selected
from the first control. From that I think I should be able to build a
connection string for my applications, but I getting the information is the
first step...
- Next message: Kevin Yu [MSFT]: "Re: custom paste context menu fvor text boxes"
- Previous message: Carl Frisk: "Re: SqlAdaptor and help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|