my query is

String query = @"SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE';";

this will return all the table names of database in combobox.

but i want fix number of tables in combobox which changes is require in this query?

Hi

Not sure what you mean by:

but i want fix number of tables in combobox which changes is require in this query?

Can you elaborate further please.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.