G
Guest
Dear reader,
In my code I get the following error:
AddComment.cs(32): The best overloaded method match for
'WebLogger.Message.SelectMessage(string, out string, out string)' has some
invalid arguments
This is the code:
class Message
{
...
public int SelectMessage(string pID, out string pTitle, out string
pAddedDate)
{
...
}
}
class AddComment
{
...
public void InsertComment(int pMessageID, string pAuthor, string pEmail,
string pComment)
{
string msgTitle, msgAddedDate;
Message msg = new Message();
msg.SelectMessage(pMessageID, out msgTitle, out msgAddedDate);
}
}
Does anybody have an idea?
I'm quite new to C#, so this could easily be something stupid.
Thanks in advance,
Eddy de Boer
In my code I get the following error:
AddComment.cs(32): The best overloaded method match for
'WebLogger.Message.SelectMessage(string, out string, out string)' has some
invalid arguments
This is the code:
class Message
{
...
public int SelectMessage(string pID, out string pTitle, out string
pAddedDate)
{
...
}
}
class AddComment
{
...
public void InsertComment(int pMessageID, string pAuthor, string pEmail,
string pComment)
{
string msgTitle, msgAddedDate;
Message msg = new Message();
msg.SelectMessage(pMessageID, out msgTitle, out msgAddedDate);
}
}
Does anybody have an idea?
I'm quite new to C#, so this could easily be something stupid.
Thanks in advance,
Eddy de Boer