I am trying to pass a null value as string to a function that will send to a sp.
AssignedName = e.CommandArgument.ToString();
Activity = null;
loadActivity(sqlConnection, v1, v2);
I know my sp works. also, if v2 is not null, it works fine. Once I use null, I get the error v2 was not supplied. Any ideas? thanks