Hi,
Suppose there is 20 table in sql server 2005, with different column name, number of column etc. Now I want to bind my gridview dynamically,
to the table. How can I do this? I want that my gridview should have same no. of column, same name etc. of the table in sql server. Also it should have functionally such as edit, sort etc. It should have itemtemplate, edititemtemplate etc.
The user will have a textbox where he will write the select query. How can I do this? Should I have create a dynamic gridview, then count the number of column and also read the header text of the sql server table? How can I do this? How can I create dynamically itemtemplate, edititemtemplate?
Please help.