Home > Net > For help after insertrow backend access to the number of lines is constant
For help after insertrow backend access to the number of lines is constant
Time:10-14
With the document in front of js. GetElementById (" tableID "). The insertRow (1) increase a few lines form data, and then filled with insertCell cell, web page shows the correct, no problem, but in c # the back-end to traverse the newly added elements, use the HtmlTable table=this. TableID; HtmlTableRowCollection tableRows=table. Rows; TableRows. Count has been not added before, nor the newly added elements and tableRows, whether to add a few will not change what reason be excuse me ah, thank you for your attention
CodePudding user response:
C # in how to obtain HtmlTable table=this. TableID; To obtain a