GridView.CreateRow メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > GridView.CreateRow メソッドの意味・解説 

GridView.CreateRow メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

GridView コントロールの行を作成します

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

Protected Overridable Function
 CreateRow ( _
    rowIndex As Integer, _
    dataSourceIndex As Integer, _
    rowType As DataControlRowType, _
    rowState As DataControlRowState _
) As GridViewRow
Dim rowIndex As Integer
Dim dataSourceIndex As Integer
Dim rowType As DataControlRowType
Dim rowState As DataControlRowState
Dim returnValue As GridViewRow

returnValue = Me.CreateRow(rowIndex, dataSourceIndex, rowType,
 rowState)
protected virtual GridViewRow CreateRow (
    int rowIndex,
    int dataSourceIndex,
    DataControlRowType rowType,
    DataControlRowState rowState
)
protected:
virtual GridViewRow^ CreateRow (
    int rowIndex, 
    int dataSourceIndex, 
    DataControlRowType rowType, 
    DataControlRowState rowState
)
protected GridViewRow CreateRow (
    int rowIndex, 
    int dataSourceIndex, 
    DataControlRowType rowType, 
    DataControlRowState rowState
)
protected function CreateRow (
    rowIndex : int, 
    dataSourceIndex : int, 
    rowType : DataControlRowType, 
    rowState : DataControlRowState
) : GridViewRow

パラメータ

rowIndex

作成する行のインデックス

dataSourceIndex

行にバインドするデータ ソース項目のインデックス

rowType

DataControlRowType 値の 1 つ

rowState

DataControlRowState 値の 1 つ

戻り値
指定したパラメータ使用して作成された GridViewRow。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GridView クラス
GridView メンバ
System.Web.UI.WebControls 名前空間
DataControlRowType 列挙
DataControlRowState 列挙
GridViewRow



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

GridView.CreateRow メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



GridView.CreateRow メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS