changed asp parameter code to C# instead of VB