get row count of DataTable C# code example Example: datatable count number of rows Click to copyvar table = $('#example').DataTable(); table.rows().count();