Intersoft WebGrid Documentation
DataMember Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridTable Class : DataMember Property






Gets or sets the name of data source for which the table displays its data.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Gets or sets the name of data source for which the table displays its data.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
Public Property DataMember As String
Visual Basic (Usage)Copy Code
Dim instance As WebGridTable
Dim value As String
 
instance.DataMember = value
 
value = instance.DataMember
C# 
[DescriptionAttribute("Gets or sets the name of data source for which the table displays its data.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public string DataMember {get; set;}
Delphi 
public read-write property DataMember: String; 
JScript 
DescriptionAttribute("Gets or sets the name of data source for which the table displays its data.")
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
public function get,set DataMember : String
Managed Extensions for C++ 
[DescriptionAttribute("Gets or sets the name of data source for which the table displays its data.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public: __property string* get_DataMember();
public: __property void set_DataMember( 
   string* value
);
C++/CLI 
[DescriptionAttribute("Gets or sets the name of data source for which the table displays its data.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public:
property String^ DataMember {
   String^ get();
   void set (    String^ value);
}

Remarks

This property is used to specify the member of database or table name that we would like to bind after we had set the DataSource before.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.