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

정의

데이터는 도구 설명 또는 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-value 및 Y-value로 바인딩할 데이터 원본입니다.

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일 수 있습니다.

적용 대상