Thread View: borland.public.csharpbuilder.winforms.controls.using
4 messages
4 total messages
Started by Mike Austin
Tue, 29 Mar 2005 05:23
Incremental searching in C#...
Author: Mike Austin
Date: Tue, 29 Mar 2005 05:23
Date: Tue, 29 Mar 2005 05:23
10 lines
1145 bytes
1145 bytes
All, I have a form with a text box on it, a grid, and some other controls. I want to be able to incrementally search the underlying dataset as the user types into the text box. I can't seem to find anything in the online help or the "auto-completion" that fits the bill. Any help appreciated. Mike
Re: Incremental searching in C#...
Author: Marc Rohloff TeamB
Date: Tue, 29 Mar 2005 10:01
Date: Tue, 29 Mar 2005 10:01
13 lines
1639 bytes
1639 bytes
On Mon, 28 Mar 2005 21:23:49 -0800, Mike Austin wrote: > I have a form with a text box on it, a grid, and some other controls. I > want to be able to incrementally search the underlying dataset as the > user types into the text box. I can't seem to find anything in the > online help or the "auto-completion" that fits the bill. You are pretty much going to have to roll your own by handling the change event of the edit control. -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Re: Incremental searching in C#...
Author: Mike Austin
Date: Fri, 01 Apr 2005 05:39
Date: Fri, 01 Apr 2005 05:39
21 lines
1813 bytes
1813 bytes
Marc Rohloff [TeamB] wrote: > On Mon, 28 Mar 2005 21:23:49 -0800, Mike Austin wrote: > > >>I have a form with a text box on it, a grid, and some other controls. I >>want to be able to incrementally search the underlying dataset as the >>user types into the text box. I can't seem to find anything in the >>online help or the "auto-completion" that fits the bill. > > > You are pretty much going to have to roll your own by handling the > change event of the edit control. > It seems that ADO.Net's Find method will not do partial matches. I was able to do partial matches with Delphi/ADO, so is it that Delphi extended ADO to accommodate partial matches or is it that ADO.Net hasn't gotten around to implementing partial match Finds yet? Thanks for your response. Mike
Re: Incremental searching in C#...
Author: Marc Rohloff TeamB
Date: Fri, 01 Apr 2005 13:32
Date: Fri, 01 Apr 2005 13:32
17 lines
1899 bytes
1899 bytes
On Thu, 31 Mar 2005 21:39:02 -0800, Mike Austin wrote: > It seems that ADO.Net's Find method will not do partial matches. I was > able to do partial matches with Delphi/ADO, so is it that Delphi > extended ADO to accommodate partial matches or is it that ADO.Net hasn't > gotten around to implementing partial match Finds yet? ADO and ADO.NET have very little in common so I am not surprised that they don't have the same functionality. If you are using a ComboBox then use its FindString function. If you have to use the datatable then you will probably have to scan it manually. -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads