I'm currently working on a new project that involves dynamically writing an SQL table into an asp:gridview for editable purposes. I've come across some solutions, but they all seem to be static, and I need a dynamic solution due to the changing nature of the SQL tables.
It is important for the table to be dynamic because the SQL tables may have columns added, removed, or modified. Thus, a static solution won't work for my project.
My ideal scenario would involve an editing function similar to Excel, where the data can be modified and saved back to the SQL table with a simple save button.
I've been researching for at least 4 hours and haven't found a suitable solution yet. I would greatly appreciate any help or guidance on this issue.
Thank you for your assistance.
Best regards
Update
//HTML Code:
<!-- HTML code goes here -->
// Code behind:
<!-- Code behind code goes here -->
// Additional issue:
<!-- Additional issue description goes here -->