Skip to content

passwd异常 #2

Description

@s1g0day

如果passwd 输入框内存在双引号 就会报错

image

原因是Program.cs中使用字符串的方式传入数据库信息,特殊字符可能会干扰连接字符串的语法

可以用 SqlConnectionStringBuilder 类来构建连接字符串

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions