本文介绍了通过asp.net将null发送给参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
我想要一个参数,其内容为空,发送到sql中的参数?????
例子
hiI want a parameter that its content is null sending to the parameter in sql?????
example
declare @camera bit;declare @os bit;
set @camera=1;set @os=null;
select * from tproduct where camera=@camera OR (os=@os)
回复.Redirect(Finder.aspx?camera = 1& os =); //问题
Response.Redirect("Finder.aspx?camera=1&os=");// problem
How much @os I put it null and send
推荐答案
这篇关于通过asp.net将null发送给参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!