473,387 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Searching for (SQL) Data Sources

bergy
89
I have created an application that allows you to copy any database to a brand new database. Right now it is setup to work with my local copy of MSDE and if I ever need it for another computer or server I just change the connection string inside my code and recompile.

I want to be able to take some of the hassle out of this and I can think of two ways of doing it. The easiest would be to just make a txt file that holds a connection string that is read at run time, but what I'd like to do is to be able to create some drop downs (much like the Connect to Database wizard in VS2k5) that will find all available servers and then list all their available databases for a user to select which to copy.

I have searched google and countless other sites but "data source" is so vague I get tons of unrelated results.

I'm basically looking for code to parse the available data/servers on a network/local PC into a drop down. After I figure that out I can easily create a login window for authentication and find the databases available on that server.

C# would be appreciated as that is what my current app is written in, but if you know how to do it in VB please post and I'll translate it myself.

Thanks in advance!!

Adam
Mar 9 '07 #1
0 898

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: CJM | last post by:
I have a query which produces different results in the Access query builder and in an ASP page (via ADO) An example of the query is: ----------------------------------------------------------...
1
by: Tony Bansten | last post by:
I am searching for some sample source code to convert voice (or music) recorded with a microphone into digital data. As far as I know this must be an implementation of a Fourier Transformation...
3
by: nzanella | last post by:
Hello, I have MS SQL Server running on a server computer. I am trying to connect to it via ASP from a .asp file created in a virtual directory. I am using IIS as the web server. I am connecting...
3
by: Mark Line | last post by:
Hello! I'm a python n00b! I've been writing in c++ for a few years so programming's not new to me, just python that I don't know the syntax!
6
by: shaun.mostashari | last post by:
Hello all, I am curious to know if anyone has done a trade study on DB2, SQL Server, and Oracle databases. Basically I am trying to identify which one to chose based on "Ease of implementation",...
33
by: Geoff Jones | last post by:
Hiya I have a DataTable containing thousands of records. Each record has a primary key field called "ID" and another field called "PRODUCT" I want to retrieve the rows that satisy the following...
2
by: ewingate | last post by:
I am currently going through an MCAD/MCSD training guide for Exam# 70-316. It is a great book but it shows it's age with certain subjects. The chapter on databinding is one of these. This somewhat...
3
by: Roelof van Kooten | last post by:
Is it possible to connect to SQL Server 2005 Workgroup using C# Express edition ? Thanks for your help, Roelof
1
by: markla | last post by:
Hi, I have an Entity data model built in Entity Framework, which sources data primarily from an MS SQL 2008 database, and sources some static (data dictionary) values from code-based objects. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.