C#代码用于分页之间的一些差距,如点点。 [英] C# code for pagination with some gap in between like dot dot.
问题描述
我需要使用c#进行分页代码。
分页如1 2 3 .... 49 50.
分页看起来像
下载有声读物Audible.com [ ^ ]
我的尝试:
我需要使用c#进行分页代码。
分页如1 2 3 .... 49 50.
分页看起来像
使用Audible.com下载有声读物 [ ^ ]
I need a code for pagination using c# .
Paging like 1 2 3 .... 49 50.
Pagination looks like
Download Audiobooks with Audible.com[^]
What I have tried:
I need a code for pagination using c# .
Paging like 1 2 3 .... 49 50.
Pagination looks like
Download Audiobooks with Audible.com[^]
推荐答案
正如理查德所说,我们不会为你工作。我建议在线查找一些样本,因为其中有很多样本。然后当你遇到困难时,请回来问一个具体的问题我们很乐意帮助。
As Richard said, we do not do your work for you. I suggest finding some samples online as there are many of them. Then when you get stuck implementing one please come back and ask a specific question and we'll gladly assist.
分页如1 2 3 .... 49 50。
Paging like 1 2 3 .... 49 50.
你的第一个任务是定义你想要的东西。
定义显示适用于各种情况。
从0页开始(无应答),然后1页,2,3,4,5 ...
每页的
定义显示时间你在第一页或最后一页,靠近第一页或最后一页(2,3),在中间。
分析所有案例并找出案件之间的相似之处。减少案件数量。
只有这样,你才能清楚地知道你的程序需要做什么。
Your first task is to define what you want.
Define the display for every situation.
Start with 0 page (no answer), then 1 page, 2, 3, 4, 5 ...
for each page define the display when you are on first or last page, near first or last page ( 2, 3), in the middle.
Analyze all cases and find the similarities between cases. to reduce the number of cases.
Only then, you will have a clear idea of what your program need to do.
这篇关于C#代码用于分页之间的一些差距,如点点。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!