DataSet ds = wikibll.GetList(7, 1, string.Format(" isshow=1 and AskCountryid={0} ", countryid));

AskCountryid在sqlserver2005中是nvarchar(50),但是查询条件中不用加单引号''吗?好神奇!!

居然这样写是对的~

相关文章:

  • 2021-10-19
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-10-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-01-27
相关资源
相似解决方案