J
Jan Nielsen
Hi
I have a databound form with "person data" (ie first name, surname, gender)
that is bound to a dataset.
I would like to filter the form so it only shows persons with gender =
"Boy".
I have tried to edit the sqlDataAdapter.Selectcommand.commandtext and then
use sqlDataadapter.Fill(MyOriginalDataSet,"OriginalTable")
But this does not reflect in the form. Even though the SQL seems to be
correct.
Then I tried a dataview
DvFind.RowFilter = "Gender = 'boy'
This returns the correct records but is not reflected in the form
Can anyone help?
Best regards
Jan
I have a databound form with "person data" (ie first name, surname, gender)
that is bound to a dataset.
I would like to filter the form so it only shows persons with gender =
"Boy".
I have tried to edit the sqlDataAdapter.Selectcommand.commandtext and then
use sqlDataadapter.Fill(MyOriginalDataSet,"OriginalTable")
But this does not reflect in the form. Even though the SQL seems to be
correct.
Then I tried a dataview
DvFind.RowFilter = "Gender = 'boy'
This returns the correct records but is not reflected in the form
Can anyone help?
Best regards
Jan