I want to get all the tables name of a database in a combo box, can u help me please.......
I want to get all the tables name of a database in a combo box, can u help me please.......
Use this query for the CommandText property of your selectcommand:
select name from sysobjects where xtype='U'
this works in MS sql server.
whether it solve the problem do inform me.