A Sandcastle Documented Class Library
GetPageNumberDisplay メソッド (aTotal, aOffset, aLimit)
名前空間CFW.AspxCommonUIHelperGetPageNumberDisplay(Int32, Int32, Int32)
ページ表示をフォーマットして返す
宣言の構文
C#Visual BasicVisual C++
public static string GetPageNumberDisplay(
	int aTotal,
	int aOffset,
	int aLimit
)
Public Shared Function GetPageNumberDisplay ( _
	aTotal As Integer, _
	aOffset As Integer, _
	aLimit As Integer _
) As String
public:
static String^ GetPageNumberDisplay(
	int aTotal, 
	int aOffset, 
	int aLimit
)
パラメータ
aTotal (Int32)
総件数
aOffset (Int32)
開始位置
aLimit (Int32)
ページあたりの件数
戻り値
フォーマット済み文字列
解説
"1 / 10 ページ"など
使用例
CopyC#
//検索結果総行数100件、開始位置1、1ページあたり20行表示の場合
PageNumberLabel.Text = UIHelper.GetPageNumberDisplay(100,1,20);

アセンブリ: CFW.common.AspxCommon (モジュール: CFW.common.AspxCommon) バージョン: 1.2.0.1 (1.2.0.1)