Share via


DataPointCollection.DataBind(IEnumerable, String, String, String) 메서드

정의

Tooltip 또는 LabelStyle 등 데이터 요소의 속성 값, X 값 및 Y 값을 데이터 소스에 데이터 바인딩합니다.

public:
 void DataBind(System::Collections::IEnumerable ^ dataSource, System::String ^ xField, System::String ^ yFields, System::String ^ otherFields);
public void DataBind (System.Collections.IEnumerable dataSource, string xField, string yFields, string otherFields);
member this.DataBind : System.Collections.IEnumerable * string * string * string -> unit
Public Sub DataBind (dataSource As IEnumerable, xField As String, yFields As String, otherFields As String)

매개 변수

dataSource
IEnumerable

X 값 및 Y 값에 바인딩할 데이터 소스입니다.

xField
String

X 값에 대한 필드의 이름입니다.

yFields
String

Y 값에 대한 필드의 이름을 쉼표로 구분한 목록입니다.

otherFields
String

바인딩 규칙을 사용하는 다른 데이터 요소 속성으로, 형식은 PointProperty=Field[{Format}] [,PointProperty=Field[{Format}]]입니다.

예: "Tooltip=Price{C1},Url=WebSiteName"

설명

데이터 원본은 Ole (SQL) DataReader, DataView, DataSet, DataTable 또는 DataRow일 수 있습니다.

적용 대상