Microsoft
Software
Hardware
Network
Question : SQL Query
Experts
please tell me what is the correct conversion of the
string query = "select count(CustomerID) from Table_InvoiceCustomer where Name like ' % "+textBox1.Text+ " % ' " ; (this is correct I know ) but my question is
if I convert the above query by parameterizid query then what will be the proper conversion
string query = "select count(CustomerID) from Table_InvoiceCustomer where Name like '%@parameter1%' ";
this I tried but not working .
Please suggest.
Thanking you
Anindya
Answer : SQL Query
string query = "select count(CustomerID) from Table_InvoiceCustomer where Name like '%' + @parameter1 + '%' ";
Random Solutions
Run the Windows 'RUN" from vb.net
WMI and SqlServerWriter under VSS writers both have issues, why do they always fail?
CISCO 5505 Firewall Dashboard Access Rules Out of Sync Errors
view source code for .exe file
upgrading from dlu to cuwl and ucl licensing call manager
Ancient of Days
Some contacts not syncing with blackberry
Raise domain function level when there are 2 ADs
How to detect .NET Framework 2.0 or later installation in registry, install silently if not exist, and execute "real" .NET application?
Using ADMT to migrate user account across domain.