DBUtil.Execute(sql);

如果想执行多条sql语句,可以将sql语句用sql+=的形式,将多条sql语句连接起来,DBUtil.Execute()里面调用这个变量就可以实现了,解决了与使用存储过程相同的功能。

相关文章:

  • 2022-03-10
  • 2022-12-23
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案