Click here to Skip to main content
16,005,149 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralPrinting with Data Environment Pin
bruceb24-Feb-03 17:07
bruceb24-Feb-03 17:07 
GeneralRe: Printing with Data Environment Pin
Hesham Amin24-Feb-03 21:35
Hesham Amin24-Feb-03 21:35 
GeneralRe: Printing with Data Environment Pin
bruceb25-Feb-03 22:57
bruceb25-Feb-03 22:57 
General[Q] ADO Recordset Events in VB6 Pin
Derek Price24-Feb-03 5:42
Derek Price24-Feb-03 5:42 
GeneralRe: [Q] ADO Recordset Events in VB6 Pin
Hesham Amin25-Feb-03 2:47
Hesham Amin25-Feb-03 2:47 
Generaldeleting a row in a datagrid Pin
mcm24-Feb-03 3:51
mcm24-Feb-03 3:51 
GeneralRe: deleting a row in a datagrid Pin
Brian Lehmann3-Mar-03 10:44
Brian Lehmann3-Mar-03 10:44 
Generalgetting a single row in a dataview how Pin
DODO23-Feb-03 23:13
DODO23-Feb-03 23:13 
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

Generaloperation not allowed when object is closed Pin
mcm23-Feb-03 22:51
mcm23-Feb-03 22:51 
GeneralRe: operation not allowed when object is closed Pin
Hesham Amin24-Feb-03 3:36
Hesham Amin24-Feb-03 3:36 
GeneralNewbie question: Default installer path name Pin
Jim_the_M23-Feb-03 13:35
sussJim_the_M23-Feb-03 13:35 
Generalproblem in web client(redundant data added in uploaded file) Pin
yccheok23-Feb-03 11:12
yccheok23-Feb-03 11:12 
GeneralImplementing an interface (quandry)... Pin
Ray Cassick22-Feb-03 19:38
Ray Cassick22-Feb-03 19:38 
GeneralRe: Implementing an interface (quandry)... Pin
Jim Stewart22-Feb-03 20:11
Jim Stewart22-Feb-03 20:11 
GeneralRe: Implementing an interface (quandry)... Pin
Ray Cassick22-Feb-03 20:31
Ray Cassick22-Feb-03 20:31 
GeneralMSHFlexGrid's Pin
Andy H21-Feb-03 10:42
Andy H21-Feb-03 10:42 
Generaldisplaying a checkbox in access as a checkbox in vb Pin
mcm21-Feb-03 7:09
mcm21-Feb-03 7:09 
GeneralRe: displaying a checkbox in access as a checkbox in vb Pin
mikasa21-Feb-03 9:39
mikasa21-Feb-03 9:39 
GeneralVB.NET ComboBoxes Pin
mikasa21-Feb-03 2:37
mikasa21-Feb-03 2:37 
QuestionThis control array should work, right? Pin
David Williams20-Feb-03 10:21
David Williams20-Feb-03 10:21 
AnswerRe: This control array should work, right? Pin
Ray Cassick20-Feb-03 11:54
Ray Cassick20-Feb-03 11:54 
GeneralRe: This control array should work, right? Pin
David Williams21-Feb-03 9:25
David Williams21-Feb-03 9:25 
GeneralRe: This control array should work, right? Pin
David Williams21-Feb-03 9:27
David Williams21-Feb-03 9:27 
GeneralRe: This control array should work, right? Pin
mikasa21-Feb-03 9:40
mikasa21-Feb-03 9:40 
GeneralRe: This control array should work, right? Pin
David Williams21-Feb-03 10:18
David Williams21-Feb-03 10:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.