How to list sql server databases in a combobox

Asked

Viewed 838 times

0

How to list SQL Server databases in a C application combobox#

  • 1

    Regarding how to display this data in a combobox of a c#application, your question is very wide, first why it is not possible to know if it is a web or desktop application, second why maybe you are confusing the purpose of stackoverflow: you should learn to display information from the database in a combobox in books, in the endless tutorials that exist on the internet, and use stackoverflow to be helped in any problems you may face during the learning process. No one here will do your work for you.

  • 1

    Bruno, try to ask the questions by parts, you asked a question in a very macro way. Where exactly are you having difficulties? Already have an application that works? What does it look like? Where did you get stuck?

  • 1

    You can neither obtain the information in SQL Server nor place this information in combobox? Are two different things.

1 answer

1


You can get the list of all Databases through the command below:

SELECT * FROM sys.databases
  • I apologize my dear, I entered the stackoverflow today and did not know how it really works and my question was abstract. I managed to solve on the web was a lot to be answered in a topic and the site here is approved, by the quick responses and the amount of people available to help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.