DataTable.DataSet プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataTable.DataSet プロパティの意味・解説 

DataTable.DataSet プロパティ

このテーブル属すDataSet取得します

名前空間: System.Data
アセンブリ: System.Data (system.data.dll 内)
構文構文

解説解説
使用例使用例

DataSet プロパティ使用して特定のテーブルの親 DataSet返す例を次に示します

Private Function GetDataSetFromTable() As
 DataSet
    Dim table As DataTable

    ' Check to see if the DataGrid's DataSource property
    ' is a DataTable.
    If TypeOf dataGrid1.DataSource Is
 DataTable Then
        table = CType(DataGrid1.DataSource, DataTable)
        GetDataSetFromTable = table.DataSet
    Else
        return Nothing
    End If
End Function
private DataSet GetDataSetFromTable()
{
    DataTable table;
 
    // Check to see if the DataGrid's DataSource
    // is a DataTable.
    if( dataGrid1.DataSource is DataTable)
    {
        table = (DataTable) dataGrid1.DataSource;
        // Return the DataTable's DataSet
        return table.DataSet;
    }
    else
    {
        return null;
    }
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「DataTable.DataSet プロパティ」の関連用語

DataTable.DataSet プロパティのお隣キーワード
検索ランキング

   

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



DataTable.DataSet プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS