SQL server DateTime and C# DateTime

前端 未结 2 2007
攒了一身酷
攒了一身酷 2020-12-21 00:11

On my SQL server I have a very simple table for testing, which only contains three rows: ID, Date and Hours.(varchar,

2条回答
  •  隐瞒了意图╮
    2020-12-21 00:31

    You're preparing a perfect ground for SQL injections.
    Also look here. There's an example of parametrized query.

提交回复
热议问题