longbow2000
New member
- Joined
- Jul 30, 2009
- Messages
- 4
- Programming Experience
- Beginner
Hi
How would you go about to search for specific “first, second, etc” string characters within a cell’s text?
The deal is:
I have a populated DataGrid and text box on Form1:
DataGrid Column 1’s data per row (Ignore the “” characters):
“John Smith”
“Jake White”
“Baby Boom”
“John Brown”
etc
If the user type “j” / “J” in the textbox (on Form1) then the DataGrid must filter the rows only to show the “string” that contains “j” / “J”, i.e.
“John Smith”
“Jake White”
“John Brown”
If the user type a second characters in the textbox it must filter it further (“jo” / “JO”) then the DataGrid must filter the rows only to show the “string” that contains “jo” / “JO”, i.e.
“John Smith”
“John Brown”
Thanks in advance
How would you go about to search for specific “first, second, etc” string characters within a cell’s text?
The deal is:
I have a populated DataGrid and text box on Form1:
DataGrid Column 1’s data per row (Ignore the “” characters):
“John Smith”
“Jake White”
“Baby Boom”
“John Brown”
etc
If the user type “j” / “J” in the textbox (on Form1) then the DataGrid must filter the rows only to show the “string” that contains “j” / “J”, i.e.
“John Smith”
“Jake White”
“John Brown”
If the user type a second characters in the textbox it must filter it further (“jo” / “JO”) then the DataGrid must filter the rows only to show the “string” that contains “jo” / “JO”, i.e.
“John Smith”
“John Brown”
Thanks in advance