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

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