hai,
i am working on an application where i connect to a database and
list the tables available in it in a datagridview. now, from these
listed tables when a user selects a table i want the description and
content of the table to be displayed in seperate gridviews.... please
help me i am new to vb.net
Loading
mathu mathiPosted Apr 21, 2009, 6:22 AM
thank u very much it works .. thanks a lot
Santhosh RajanPosted Apr 17, 2009, 7:04 AM
sorry for being late...but its late than never right...? okay anyways when u select a table name from first grid, use this query
SELECT COLUMN_NAME,DATA_TYPE'
FROM INFORMATION_SCHEMA.COLUMNS WHERE
TABLE_NAME='
Replace with the table name from selected row in first grid
hope this will help
let me know if it didnt,
mathu mathiPosted Mar 21, 2009, 12:38 AM
Santhosh RajanPosted Mar 20, 2009, 3:16 AM