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

Viktor Vidman14 reputationPosted Apr 4, 2007, 1:17 PM EDT
Scott LysleRank #49 · 31K reputationPosted Apr 4, 2007, 1:21 PM EDT
Viktor Vidman14 reputationPosted Apr 4, 2007, 1:32 PM EDT
Scott LysleRank #49 · 31K reputationPosted Apr 4, 2007, 1:38 PM EDT
Maybe something like: int bpo = new bpoInfo(Convert.ToInt32(...
would take care of it.
cdog37 reputationPosted Apr 4, 2007, 2:21 PM EDT
Scott LysleRank #49 · 31K reputationPosted Apr 4, 2007, 3:09 PM EDT