MySQL ODBC Parameter issue
问题 Okay, so I'm getting a weird error with this function. It's saying: Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver][mysqld-5.0.27-community-nt]Column 'CommentNumber' cannot be null But I can verify that the variable commentnumber is indeed getting a value. If I put a Response.Write right before the command.Parameters.Add("@CommentNumber", commentnumber);" line I get 1 returned (which is correct). public string commenter(string commentnumber, string