<script type="text/javascript"> function CountRows() { var totalRowCount = 0; var rowCount = 0; var gridView = document.getElementById("<%=GridView1.ClientID %>"); var rows = gridView.getElementsByTagName("tr") for (var i = 0; i < rows.length; i++) { totalRowCount++; if (rows[i].getElementsByTagName("td").length > 0) { rowCount++; } } document.getElementById("lbl_total_users").innerText = totalRowCount; return false; } </script>
totalRowCount = row.length;
document.getElementById("<%=lbl_total_users.ClientID%>").innerHTML = totalRowCount;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)