To close or not to close connection in database

后端 未结 7 1090
名媛妹妹
名媛妹妹 2021-01-17 21:15

I work with Windows-Mobile and Windows-CE using SqlCE and I dont know what better to do.

To open connection when the program open, run any

7条回答
  •  庸人自扰
    2021-01-17 21:43

    You should close your connection each time you have completed an sql transaction to free connection ports. Always a good practice to avoid security breach.

提交回复
热议问题