ÔÚVBÖдúÂë private EmployeesData as new EmployeesDataSet private CollectionView View
Me.View = CollectionViewSource.GetDefaultView(EmployeesData.Employees) Dim row=CType(View.CurrentItem,System.Data.DataRowView).Row Dim roww=Me.EmployeesData.Employees.NewEmployeesRow
×îºóÁ½¾ä ת»»³ÉC#´úÂëÓ¦¸ÃÊÇÔõôÑùµÄ£¿System.Data.DataRowView.Row row= ((System.Data.DataRowView)View.CurrentItem).Row Me.EmployeesData.Employees.NewEmployeesRow roww=this.EmployeesData.Employees.NewEmployeesRow Me --> this this.View = CollectionViewSource.GetDefaultView(EmployeesData.Employees); var row = ((System.Data.DataRowView)View.CurrentItem).Row; var roww = this.EmployeesData.Employees.NewEmployeesRow;
Private Sub Check1_Click() If Check1.Value = 1 Then DTP1.Enabled = True Else DTP1.Enabled = False End If End Sub Private Sub Check2_Click() If Check2.Value = 1 Then DTP2.Enabled = True Else
......