I need to create a table which should be shown in the page only if it has some content (rows) inside it. The purpose of the table would primarily be to display the data (excel sheets) imported by the user. I am doing all the coding in ASP, how can I accomplish this?
Share
Actually you can keep your table
hiddenand on page load you can check iftablehas rows inside it, likeHTML
JS
But you should use an
idfor the table, i.e.id="xldata".DEMO.