MSDASC.DataLinks _dataLinks = new MSDASC.DataLinksClass();
ADODB.Connection _connection = new ADODB.ConnectionClass();
object obj = _connection as object;
bool dialogresult = _dataLinks.PromptEdit(ref obj);
if (dialogresult)
{
txtConString.Text = _connection.ConnectionString;
}
ADODB.Connection _connection = new ADODB.ConnectionClass();
object obj = _connection as object;
bool dialogresult = _dataLinks.PromptEdit(ref obj);
if (dialogresult)
{
txtConString.Text = _connection.ConnectionString;
}