如何在ASP.NET中更新和删除HTML表 [英] How to update and delete from HTML table in ASP.NET
本文介绍了如何在ASP.NET中更新和删除HTML表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用更新按钮更新html表内容,形成背后的代码。
我尝试过:
首先,我将数据存储在html表中。然后在每一行中创建一个更新按钮。但无法更新所选行的数据。
How to update html table content using update button form the code behind.
What I have tried:
At first i store the data in html table. then make a update button in each row. but can not update the selected row's data.
推荐答案
而不是您可以轻松使用网格视图,这将工作冷却或只是尝试访问make表标签运行at = server并通过后端访问它,如document.getelementbyid [table_1]
instead of that you easily use grid view and that will works fir or just try to access make table tag run at="server" and access it by back end like document.getelementbyid["table_1"]
这篇关于如何在ASP.NET中更新和删除HTML表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文