Question treeview

nitish_07

Member
Joined
Feb 14, 2012
Messages
7
Programming Experience
Beginner
in treeview there are database then table then column....when i delete a particular table from database then i want the results should circulate in treeview immediately..so how to do this????that is how to refresh the treeview.....

what i m doing is using drop table command on deleting the table and removing it from treeview manually...but it will not work when i will del this by writing the query in command box.....
 
Your application doesn't know what's going on in the database and the database doesn't tell it. If you want to know anything about the database then you have to ask it, i.e. execute a query. Presumably you already know how to do that. The best you can do really is to query the database at regular intervals.
 
Back
Top