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

CodePudding user response:

reference. 1/f, Beijing NET - six years of reply:
c # HtmlTable table=this. How to get in the tableID;
Retrieves the


Web page there is a button, handle the click event, according to table id get HtmlTable should be form the information has been updated, and how to get it again
  •  Tags:  
  • C#
  • Related