Suggérer une traduction
 
Suggestions d'autres utilisateurs :

progress indicator
Aucune autre suggestion.
Cliquez pour évaluer et commenter
MSDN
MSDN Library
Développement .NET
.NET Framework 4
Espaces de noms System.Web
System.Web.UI.WebControls
Réduire tout/Développer tout Réduire tout
Affichage du contenu :  côte à côteAffichage du contenu : côte à côte
.NET Framework Class Library
IDataBoundListControl Interface

Exposes the common properties of data-bound-controls that display multiple rows.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)
Visual Basic
Public Interface IDataBoundListControl _
    Inherits IDataBoundControl
C#
public interface IDataBoundListControl : IDataBoundControl
Visual C++
public interface class IDataBoundListControl : IDataBoundControl
F#
type IDataBoundListControl =  
    interface
        interface IDataBoundControl
    end

The IDataBoundListControl type exposes the following members.

  NameDescription
Public propertyClientIDRowSuffixGets or sets the names of the data fields whose values are appended to the Control..::.ClientID property value to uniquely identify each instance of a data-bound control.
Public propertyDataKeyNamesGets or sets an array that contains the names of the primary-key fields of the items that are displayed in a data-bound control. (Inherited from IDataBoundControl.)
Public propertyDataKeysGets a collection of DataKey objects that represent the data key value of each row in a data-bound control.
Public propertyDataMemberGets or sets the name of the list of data that the data-bound control binds to when the data source contains more than one list of data items. (Inherited from IDataBoundControl.)
Public propertyDataSourceGets or sets the object from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public propertyDataSourceIDGets or sets the ID of the data source control from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public propertyDataSourceObjectGets the data source object from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public propertyEnablePersistedSelectionGets or sets a value that indicates whether the selection of a row is based on index or on data-key values.
Public propertySelectedDataKeyGets the object that contains the data-key value for the selected row in a data-bound control.
Public propertySelectedIndexGets or sets the index of the selected row in a data-bound control.
Top

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Bibliothèque de classes .NET Framework
IDataBoundListControl, interface

Expose les propriétés communes des contrôles liés aux données qui affichent plusieurs lignes.

Espace de noms :  System.Web.UI.WebControls
Assembly :  System.Web (dans System.Web.dll)
Visual Basic
Public Interface IDataBoundListControl _
    Inherits IDataBoundControl
C#
public interface IDataBoundListControl : IDataBoundControl
VisualC++
public interface class IDataBoundListControl : IDataBoundControl
F#
type IDataBoundListControl =  
    interface
        interface IDataBoundControl
    end

Le type IDataBoundListControl expose les membres suivants.

  NomDescription
Propriété publiqueClientIDRowSuffixObtient ou définit les noms des champs de données dont les valeurs sont ajoutées à la valeur de propriété Control..::.ClientID pour identifier de façon unique chaque instance d'un contrôle lié aux données.
Propriété publiqueDataKeyNamesObtient ou définit un tableau qui contient les noms des champs clé primaire des éléments qui sont affichés dans un contrôle lié aux données. (Hérité de IDataBoundControl.)
Propriété publiqueDataKeysObtient une collection d'objets DataKey qui représentent la valeur de clé des données de chaque ligne du contrôle lié aux données.
Propriété publiqueDataMemberObtient ou définit le nom de la liste de données à laquelle se lie le contrôle lié aux données lorsque la source de données contient plusieurs listes d'éléments de données. (Hérité de IDataBoundControl.)
Propriété publiqueDataSourceObtient ou définit l'objet à partir duquel le contrôle lié aux données récupère une liste d'éléments de données. (Hérité de IDataBoundControl.)
Propriété publiqueDataSourceIDObtient ou définit l'ID du contrôle de source de données à partir duquel le contrôle lié aux données récupère une liste d'éléments de données. (Hérité de IDataBoundControl.)
Propriété publiqueDataSourceObjectObtient l'objet source de données à partir duquel le contrôle lié aux données récupère une liste d'éléments de données. (Hérité de IDataBoundControl.)
Propriété publiqueEnablePersistedSelectionObtient ou définit une valeur qui indique si la sélection d'une ligne est basée sur l'index ou sur les valeurs de clés de données.
Propriété publiqueSelectedDataKeyObtient l'objet qui contient la valeur de clés des données de la ligne sélectionnée dans un contrôle lié aux données.
Propriété publiqueSelectedIndexObtient ou définit l'index de la ligne sélectionnée dans un contrôle lié aux données.
Début

.NET Framework

Pris en charge dans : 4

Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2

Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Contenu de la communauté   Qu'est-ce que le Contenu de la communauté ?
Ajouter du contenu RSS  Annotations
Processing
© 2012 Microsoft. Tous droits réservés. Conditions d'utilisation | Marques | Confidentialité
Page view tracker