getting a single row in a dataview how
-
hello : I am new to vb.net and I am trying to get a specific row in a data view based on a user choice of one of my app. combo boxs here is my code blocked_emp_view.Table = DataSet11.Tables("EMPLOYEE_BLOCKING") Dim EmPCriteria As String If Sender = 1 Then EmPCriteria = CType(ComboBox2.Items(ComboBox2.SelectedIndex), DataRowView).Row.ItemArray(0) Else EmPCriteria = CType(ComboBox2.Items(ComboBox3.SelectedIndex), DataRowView).Row.ItemArray(0) End If DataSet11.Tables("EMPLOYEE_BLOCKING").DefaultView.RowFilter = "EMP_NO =" & EmPCriteria blocked_emp_view.Sort = ("BLOCKING_DATE DESC") blocked_emp_view.RowFilter = "EMP_NO ='" & EmPCriteria & "'" I keep getting the same record each time although I change my selection any idea what is wrongthanks Dalia