Answers for "dataset to datatable"

1

datarow to datatable

if (dr.Length > 0)
    DataTable dt1 = dr.CopyToDataTable();
Posted by: Guest on June-18-2021
1

datatable setup

$('table').dataTable({
	lengthChange: false, //visable show {row} entries
	info : false, // hide showing entries bottom
    pagingType: "first_last_numbers", // showing bottom number
    searching: false, //hide search
    aLengthMenu: [[5, 10, 25, -1], [5, 10, 25, "All"]], // set show {row} entries
	iDisplayLength: 5 // num of rows
});
Posted by: Guest on June-30-2021

Browse Popular Code Answers by Language