Hi all,

Anyone know how to create a dynamic gridview with the following specs:

1. Fixed datasouce (sqldatasource) with a fixed string connection (and database name)
2. Fixed select statement: "SELECT * FROM " + <table name>
3. <table name> came from textbox input and there is a button available that will fire gridview creation if clicked
4. Allow selecting, editing, and deleting in the gridview (also will enable data update in database)

I have spent quite some time research and research all over internet with no good answer came out.

I hope you all can help me.

Thank's

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.