Hello I am new to C# and was wondering if anyone could help me squash a bug. I have a huge script that was orginally vb.net, I have translated it into c#/asp 2.0. this is the error I am getting
Compiler Error Message: CS1502: The best overloaded method match for 'bpoInfo.bpoInfo(int)' has some invalid arguments
Source Error:
Line 61: try
Line 62: {
Line 63: int bpo = new bpoInfo(Request.QueryString["RequestID"]);
Line 64: }
Line 65: catch (Exception ex)
Here is how I am declaring the variables:
bpoInfo bpo = null;
Here is the call:
bpo = new bpoInfo(Request.QueryString["RequestID"]);
Any ideas?
Loading
Scott LyslePosted Apr 4, 2007, 7:09 PM
cdogPosted Apr 4, 2007, 6:21 PM
Scott LyslePosted Apr 4, 2007, 5:38 PM
Maybe something like: int bpo = new bpoInfo(Convert.ToInt32(...
would take care of it.
Viktor VidmanPosted Apr 4, 2007, 5:32 PM
Scott LyslePosted Apr 4, 2007, 5:21 PM
Viktor VidmanPosted Apr 4, 2007, 5:17 PM