Click here to Skip to main content
15,900,616 members
Home / Discussions / C#
   

C#

 
Questionobject pooled serviced component Pin
wenquxing7-Jul-07 7:23
wenquxing7-Jul-07 7:23 
AnswerRe: object pooled serviced component Pin
wenquxing8-Jul-07 15:53
wenquxing8-Jul-07 15:53 
QuestionPath of a file Pin
suntromantralalalala7-Jul-07 4:51
suntromantralalalala7-Jul-07 4:51 
AnswerRe: Path of a file Pin
Luc Pattyn7-Jul-07 5:00
sitebuilderLuc Pattyn7-Jul-07 5:00 
GeneralRe: Path of a file Pin
suntromantralalalala7-Jul-07 5:04
suntromantralalalala7-Jul-07 5:04 
AnswerRe: Path of a file Pin
Giorgi Dalakishvili7-Jul-07 8:36
mentorGiorgi Dalakishvili7-Jul-07 8:36 
GeneralRe: Path of a file Pin
suntromantralalalala7-Jul-07 9:33
suntromantralalalala7-Jul-07 9:33 
Questionparameterless constructor Pin
brsecu7-Jul-07 2:46
brsecu7-Jul-07 2:46 
I dont know why this is so hard. I just cant get it to work!!! I've tried a million things and different ways. I get this error: WebService1.Class1 cannot be serialized because it does not have a parameterless constructor.


public class Class1 : System.Web.Services.WebService
{
public string _strOne;
public string _strTwo;

public Class1(string strOne, string strTwo)
{
this._strOne = strOne;
this._strTwo = strTwo;
}
[WebMethod]
public Class1 HelloWorld(string str1, string str2)
{

return new Class1(str1,str2);
}
}
AnswerRe: parameterless constructor Pin
DavidNohejl7-Jul-07 3:12
DavidNohejl7-Jul-07 3:12 
GeneralRe: parameterless constructor -Help!!!!!!!! Pin
brsecu7-Jul-07 3:32
brsecu7-Jul-07 3:32 
GeneralRe: parameterless constructor -Help!!!!!!!! Pin
DavidNohejl7-Jul-07 3:47
DavidNohejl7-Jul-07 3:47 
AnswerRe: parameterless constructor Pin
Scott Dorman7-Jul-07 3:13
professionalScott Dorman7-Jul-07 3:13 
GeneralRe: parameterless constructor Pin
brsecu7-Jul-07 3:33
brsecu7-Jul-07 3:33 
QuestionWTF is wront with Lable.TextAlign?? Pin
Muammar©7-Jul-07 1:08
Muammar©7-Jul-07 1:08 
AnswerRe: WTF is wront with Lable.TextAlign?? Pin
Christian Graus7-Jul-07 1:17
protectorChristian Graus7-Jul-07 1:17 
QuestionChange Password Pin
DKalepu7-Jul-07 0:12
DKalepu7-Jul-07 0:12 
AnswerRe: Change Password Pin
Christian Graus7-Jul-07 0:56
protectorChristian Graus7-Jul-07 0:56 
AnswerRe: Change Password Pin
Paul Conrad7-Jul-07 6:44
professionalPaul Conrad7-Jul-07 6:44 
AnswerRe: Change Password Pin
Amar Chaudhary7-Jul-07 7:27
Amar Chaudhary7-Jul-07 7:27 
QuestionC#.Net ASP (Urgent) Pin
| Muhammad Waqas Butt |6-Jul-07 22:29
professional| Muhammad Waqas Butt |6-Jul-07 22:29 
AnswerRe: C#.Net ASP (Urgent) Pin
Muammar©6-Jul-07 23:55
Muammar©6-Jul-07 23:55 
AnswerRe: C#.Net ASP (Urgent) Pin
Christian Graus7-Jul-07 0:59
protectorChristian Graus7-Jul-07 0:59 
GeneralRe: C#.Net ASP (Urgent) Pin
Paul Conrad7-Jul-07 5:40
professionalPaul Conrad7-Jul-07 5:40 
Questionhow to make an XML file from data retrieved from a text file? Pin
Rocky#6-Jul-07 21:55
Rocky#6-Jul-07 21:55 
AnswerRe: how to make an XML file from data retrieved from a text file? Pin
N a v a n e e t h7-Jul-07 0:25
N a v a n e e t h7-Jul-07 0:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.