G
Guest
I'm fairly new to vb .net and was playing around with a sub to filter my dataview
like "ProductName LIKE '%" & strSearchString & "%'" , ProductName is the actual name of
the column of course, except i want pass the columnname as
a variable (strColumnName), but I can't seem to get any expression to work. If I just put the
Varible in ' ' it doesnt search correctly, but everything else gives "column not found error"
like "ProductName LIKE '%" & strSearchString & "%'" , ProductName is the actual name of
the column of course, except i want pass the columnname as
a variable (strColumnName), but I can't seem to get any expression to work. If I just put the
Varible in ' ' it doesnt search correctly, but everything else gives "column not found error"