G
Guest
Hi Folks
I am creating a basic form with a textboxes (txtSurname) and a datagrid
I want my datagrid to contain a list on clients that already exist on my database. (this is ok)
What i now want to do is to dynamically filter the datagrid according to what the user enters in the surname textbox. For example if the first letter they enter is 'B' I want the datagrid to now only contain a list of surnames beginning with 'B'. I want this to continue with every letter the user selects. Can anyone tell me if this is possible to do using these controls and how i may go about doin this???
Once the datagrid is filtered down to 0 or more surnames i want the user to be able to click on any row and then click a 'OK' button so i can reuse this guests details instead of re-entering everything
If anyone has done anything similar and has examples or advise i would greatly appreciate it
Many thx
I am creating a basic form with a textboxes (txtSurname) and a datagrid
I want my datagrid to contain a list on clients that already exist on my database. (this is ok)
What i now want to do is to dynamically filter the datagrid according to what the user enters in the surname textbox. For example if the first letter they enter is 'B' I want the datagrid to now only contain a list of surnames beginning with 'B'. I want this to continue with every letter the user selects. Can anyone tell me if this is possible to do using these controls and how i may go about doin this???
Once the datagrid is filtered down to 0 or more surnames i want the user to be able to click on any row and then click a 'OK' button so i can reuse this guests details instead of re-entering everything
If anyone has done anything similar and has examples or advise i would greatly appreciate it
Many thx