I'm populating a treeview using table/field names.

The table names I've done using sysobjects but what I need is for VB to pass the table name to SQL and to return all the field names for that table.