DataPointCollection.DataBind(IEnumerable, String, String, String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
데이터는 도구 설명 또는 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일 수 있습니다.