We need to show the result of the SQL Selection statement on the ASP.NET 3.5 web page. Although there are many columns that need to be displayed, only one of the columns needs an editable text box ... However each record in the result set needs this editable textbox.
I know it can manually do this by creating an HTML table itself, but I was hoping to use Data-bound control (GridView? Or ListView?) The method was
Being somewhat new to ASP.NET, I am hoping that there is something that it has done.
- Thank you for your help!
A little more clarification ....
We have to make all records editable right after the display - so all the records need to be displayed simultaneously in editing mode - Or in regular display mode it should be an editable text box.
Use a gridview and change the column that you want to make editable in the template. In the item template of this field, delete the label and add a text box.
Add an additional "Save" button outside the gridview, and use it again to update the griders, the text box (in each line), and the database.
Comments
Post a Comment