ado.net使用sqlparameter的方式
阅读原文时间:2023年07月09日阅读:1

使用sqlparameter的方式,最终执行的sql语句

exec sp_executesql N'select top 1 ID,ZhangHu,MiMa,RID,ShiJian,EndTime,ISIP,PreTime,PreIP from YongHu where ZhangHu=@ZhangHu and MiMa=@MiMa'
,N'@ZhangHu varchar(8),@MiMa varchar(8)',@ZhangHu='xx',@MiMa='xx'

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器