Dynamic DataGrid

Nov 4 2006 11:06 AM
Greetings to all !! well i was planning to put a text box on a form, so that i write a simple query of mysql and it should return me the result. it started working, i showed result in datagrid view. but can anyone tell me, is there any other way to show result, if not datagrid, which is reliable.. or can i give the name of the table in Fill() dynamically. cause as per my knowledge or books, i read i gotta give the dataGrid1.DataMember="tablename" can i give this dynamically, i mean storing this table name in some variable and thereby passing that variable thre in datamember.. Please help thanks in advance. :)