Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
QuestionHow to convert an MS Word document to PDF Pin
khuzwayom14-Jun-07 23:40
khuzwayom14-Jun-07 23:40 
AnswerRe: How to convert an MS Word document to PDF Pin
Vasudevan Deepak Kumar15-Jun-07 0:33
Vasudevan Deepak Kumar15-Jun-07 0:33 
GeneralRe: How to convert an MS Word document to PDF Pin
khuzwayom15-Jun-07 0:56
khuzwayom15-Jun-07 0:56 
QuestionHow to open a existing forn ? Pin
help as an alias14-Jun-07 23:40
help as an alias14-Jun-07 23:40 
AnswerRe: How to open a existing forn ? Pin
Martin#14-Jun-07 23:51
Martin#14-Jun-07 23:51 
GeneralRe: How to open a existing forn ? Pin
Muammar©17-Jun-07 4:56
Muammar©17-Jun-07 4:56 
AnswerRe: How to open a existing forn ? Pin
umitmax15-Jun-07 9:33
umitmax15-Jun-07 9:33 
QuestionWS and DesktopApplication Pin
Andrei Ungureanu14-Jun-07 22:53
Andrei Ungureanu14-Jun-07 22:53 
Hello,

I have a small problem. I built a ASP.NET WebService that retrieves data from a database. I have a function in the webservice that receives a parameter, and the return type is an object created by me. UserInfoCollection is a class created by me that contains an ArrayList with will cotain several UserInfo objects.

This is the function in the webservice:
<br />
    [WebMethod]<br />
    public UserInfoCollection GetUsersByType(AccountTypes account)<br />
    {<br />
     UserInfoCollection collection = new UserInfoCollection();<br />
     <br />
     //fill the collection with data from database<br />
     <br />
     return collection;<br />
    }<br />


To use the methods from the webservice I build a proxy using the WSDL utility. This is how i use this function:
<br />
WSService ws = new WSService();<br />
UserInfoCollection _uicUsers = ws.GetUsersByType(type);<br />


Using debug mode I saw that the webservice inserts into the collection everything that he has to, but when the webservice returns the collection object, in the application the object has no values inside. After the return statement, the webservice reinitializez the object. My question is that anyone has a suggestion to get past this problem.

Thank you.

Do your best to be the best

AnswerRe: WS and DesktopApplication Pin
Pete O'Hanlon15-Jun-07 0:30
mvePete O'Hanlon15-Jun-07 0:30 
GeneralRe: WS and DesktopApplication Pin
Andrei Ungureanu15-Jun-07 1:04
Andrei Ungureanu15-Jun-07 1:04 
AnswerRe: WS and DesktopApplication Pin
leppie15-Jun-07 0:34
leppie15-Jun-07 0:34 
GeneralRe: WS and DesktopApplication Pin
Andrei Ungureanu15-Jun-07 1:06
Andrei Ungureanu15-Jun-07 1:06 
QuestionMaximize glitches Pin
sinosoidal14-Jun-07 22:48
sinosoidal14-Jun-07 22:48 
QuestionDll Versions Pin
umashankergr814-Jun-07 22:36
umashankergr814-Jun-07 22:36 
AnswerRe: Dll Versions Pin
Manas Bhardwaj14-Jun-07 22:39
professionalManas Bhardwaj14-Jun-07 22:39 
GeneralRe: Dll Versions Pin
umashankergr814-Jun-07 23:12
umashankergr814-Jun-07 23:12 
GeneralRe: Dll Versions Pin
Mali Perica15-Jun-07 3:55
Mali Perica15-Jun-07 3:55 
QuestionHow to avoid reading first three lines in a text file? Pin
meeram39514-Jun-07 21:15
meeram39514-Jun-07 21:15 
AnswerRe: How to avoid reading first three lines in a text file? Pin
lmoelleb14-Jun-07 22:24
lmoelleb14-Jun-07 22:24 
AnswerRe: How to avoid reading first three lines in a text file? Pin
RugbyLeague15-Jun-07 1:28
RugbyLeague15-Jun-07 1:28 
GeneralRe: How to avoid reading first three lines in a text file? Pin
khuzwayom15-Jun-07 3:37
khuzwayom15-Jun-07 3:37 
QuestionCan a timer run within a thread in c# Pin
hellotkb14-Jun-07 21:14
hellotkb14-Jun-07 21:14 
AnswerRe: Can a timer run within a thread in c# Pin
MidwestLimey15-Jun-07 5:23
professionalMidwestLimey15-Jun-07 5:23 
GeneralRe: Can a timer run within a thread in c# Pin
hellotkb18-Jun-07 22:19
hellotkb18-Jun-07 22:19 
Questionhow to access/read registry of a remote system Pin
devesh_code14-Jun-07 20:02
devesh_code14-Jun-07 20:02 

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.