2014-02-20 3 views

답변

0

처럼, 데이터 열을 얻을 DataRowViewBindigSource 변환하려고합니다.

또는이 시도 : BindigSource에서 행 0 ~

MsgBox(CType(bindingsource.List(0), DataRowView).Item(1)) 

가져 오기 값, 열 1.

Dim myItme As String = dataTableName.Rows.Item(0).Item("ColumnNameOrIndex") 
: 여기
0

이 방법을 시도는 :

MsgBox(bindingsource.Rows(0).Item(1)) 

이 그것은 작동합니다 1.

행 0 열에서 값을 가져옵니다. BindigSourcecolumn(1)에 현재 행에서

MsgBox(CType(bindingsource.Current, DataRowView).Item(1)) 

가져 오기 값 :

0

귀하의 질문에 대한 답변입니다
관련 문제