get data from database by manually giving the server name
- by syedsaleemss
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?