一:添加自定义分页控件,命名为KDataPagerTwo: public class KDataPagerTwo : Control, INotifyPropertyChanged { static KDataPagerTwo() { DefaultStyleKeyProperty.OverrideMetadata(typeof(KDataPagerTwo), new FrameworkPropertyMetadata(typeof(KDataPagerTwo))); } public even…
<script> //分页 function getPageNum(num) { $("#PageNum ul").empty(); var AllCount = num; var total = Math.ceil(AllCount / 5); //数据可分的页数 var allhtml = "共<strong style='m…