SyntaxFix
Write A Post
Hire A Developer
Questions
You do not need to pass the size parameter, just declare Varchar already understands that it is MAX like:
Varchar
cmd.Parameters.Add("@blah",SqlDbType.VarChar).Value = "some large text";