Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: Filtering - what is wrong/missing here


Message #1 by "Olav Benum" <wrox@b...> on Sun, 20 Jan 2002 12:35:08
What is wrong/missing here?



testSet ds = (testSet) mainGrid.DataSource;

ds.candidates_Query.DefaultView.RowFilter="Lev>0";



Nothing is happening on the screen.  If I try replacing 

Lev with Lex I get an error, so something must be happening 

in the code.





Bindings:

this.mainGrid.DataMember = "candidates Query";

this.mainGrid.DataSource = this.objtestSet;



-Here I could also have specified the table in the datasource,

(leaving the DataMember blank) - it seems to behave a bit 

differently then.  I think something like that might be

the case.



Olav




  Return to Index