次の方法で共有


BaseDataListDesigner.DataKeyField プロパティ

コントロールのデータ キー フィールドの値を取得または設定します。

Public Property DataKeyField As String
[C#]
public string DataKeyField {get; set;}
[C++]
public: __property String* get_DataKeyField();public: __property void set_DataKeyField(String*);
[JScript]
public function get DataKeyField() : String;public function set DataKeyField(String);

プロパティ値

リスト コントロールの DataKeyField の値。

解説

DataKeyField プロパティは、デザイナが編集している DataList コントロールの DataKeyField プロパティを取得または設定します。

使用例

必要条件

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

BaseDataListDesigner クラス | BaseDataListDesigner メンバ | System.Web.UI.Design.WebControls 名前空間