>>Finally found the line of code that's giving the Build issues and it's:
>>
>> SqlParameter ReturnMsg = new SqlParameter("@ReturnMessage", SqlDbType.VarChar, size: 200);
>>
>>Apparently, it doesn't like the ':' after the 'size' keyword.
>>
>>Oddly enough, it has no issues with
the same bleedin' line of code in another program and it's the same bleeding code I see in any kind of documentation for stupid output parameters. I'm not seeing the issue - do another set of eyes see anything wrong with it?
>
>I've a really stupid question: Have you checked the preceding line(s) of code?
Lines before and after:
mycmd.Parameters.AddWithValue("@OtherType", "");
SqlParameter ReturnMsg = new SqlParameter("@ReturnMessage", SqlDbType.VarChar, size: 200);
ReturnMsg.Direction = ParameterDirection.Output;
mycmd.Parameters.Add(ReturnMsg);
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place