在ASP.NET中搜索SQL [英] Search in SQL by ASP.NET
本文介绍了在ASP.NET中搜索SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我有一个搜索代码
Hi i have a code for the search
SELECT id, idofbrand, name_product, camera, os, cameratype, ostype, price FROM tProduct WHERE (idofbrand IN (SELECT Id FROM dbo.StringToTable(@idbrand, ',') AS StringToTable_1)) OR (price BETWEEN @price1 AND @price2) OR (camera = @camera) OR (os = @os)
and the parameters can also be sent
example:Finder.aspx?os=true
But the command is not implemented
推荐答案
这篇关于在ASP.NET中搜索SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文