Try adding with this syntax instead:
commandParameters.Add("@DefaultLanguage", SqlDbType.Bit, 1).Value = defaultLanguage;
~~Bonnie Berent DeWitt [C# MVP]
http://geek-goddess-bonnie.blogspot.com
No comments:
Post a Comment