selecting unique keys for datagrid data
I am interested in selecting only certain data in a table to be displayed. I want to display all the data that has the same key int. I want the user to select a name which has a unique Id int, which is passed to the datagrid were it selects all the data which has this unique Id associated with it. Any ideas....help would be great!

selecting unique keys for datagrid data
builder_ed
if yes you could use a rowfilter
something like so
Dim dv As New DataView()
dv = ds.Tables("Employees").DefaultView
dv.RowFilter = "employeeid >" & SelectedValue
' 'selected value' is a value from a combobox or textbox or any other control
hope this helps