|
Re: Preforming a binary(SQL) search on a datagrid.
It's going to be a dynamic search, in that it will change the results every time the key is pressed. The where clause is going to be a "LIKE", and not an "=" if that's what you mean.
I'm thinking of doing a Select statement, having that return a row, and then using that row to change the bindingcontext.location property of the form. I just don't know what I would reference to do that. I don't think I'd use the PK of the returned row to find it and then change the location... That seems extremely round-about. But is that how it would be done?
Also, if it helps any, we're using MSSQL.
__________________
Tier 2 Hardware Technician
Net Effects, LLC
Brunswick, Ohio
|