get data from database by manually giving the server name

Posted by syedsaleemss on Stack Overflow See other posts from Stack Overflow or by syedsaleemss
Published on 2010-04-19T12:29:42Z Indexed on 2010/04/19 12:33 UTC
Read the original article Hit count: 153

Filed under:

Im using c# .net windows application form. I have created many databases with many tables in each.
I have a datagrid view and a display button. when i click on this button, the system must prompt me to enter the server name and after typing the server name, it should display all the databases related to that server in some combo box. and again if i select a database it should show all the tables present in that database into a combobox. and if i select a table, it should prompt an option to select only required columns into the datagridview. How can i do this?

© Stack Overflow or respective owner

Related posts about c#