7
Reply

Do a Search and populate a grid with results

Ask a question
mgiroux

mgiroux

20y
2.7k
1
Hi I have a form that I want to make a search with it. My user have to enter First-Name and/or Last-name to do the search. Once the search is done I would like to populate my datagrid. I tried different method but I had problem with the Single quote (sql injection) on my query. Does anybody have a good idea how I could do the search and put it in the datagrid please? I'm using Ado.net with a dataset. If you need further informations, please ask me. Thanks in advance

Answers (7)