hi all!

plz help me with this prblm of mine

I wish to bind a datagrid dynamically with access database , and at the same time it should contain "add", "delete" and "edit" buttons too

this can be done very simply in html if the table name is fixed.

but my prblm is that the tablename is to be specified in a textbox at run time...................!!!!!!

hence, i do not know the name or number of columns in advance.........................

Is this possible???????????

If yes, then plz reply...........

thanks in advance

what query u r using to retrieve the table from database
u can achieve all the features of a gridview in server side same as client side,for ex
u can declare these on button click

displaygrid.autogeneratecolumns=false;
displaygrid.datasource=tbl;
displaygrid.databind();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.