bghanim
Active member
Hello all,
I need to do caching with my application i.e. I have a textBox text changed event, each time the user enters a character, a connection to the sql server is done.
Instead of connecting to the sql server each time the user search an employee name, I stored the data of employee table in my employee Object, which is an instance of a class that I've defined which store for example employee name in array of strings. Once the first request is done, the application should retrieve employees information from the data stored in the that object.
The search method is based on the employee name by using the like clause of a select statment i.e. " where full_name like %' " & me.textBox1.text & " ' "
My question is: how can I perform the same operation (like clause) on an array of strings.
Regards,
Baha A. Ghanim
I need to do caching with my application i.e. I have a textBox text changed event, each time the user enters a character, a connection to the sql server is done.
Instead of connecting to the sql server each time the user search an employee name, I stored the data of employee table in my employee Object, which is an instance of a class that I've defined which store for example employee name in array of strings. Once the first request is done, the application should retrieve employees information from the data stored in the that object.
The search method is based on the employee name by using the like clause of a select statment i.e. " where full_name like %' " & me.textBox1.text & " ' "
My question is: how can I perform the same operation (like clause) on an array of strings.
Regards,
Baha A. Ghanim