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

C#

 
AnswerRe: Custom Save/Load Dialogs and Select Folder Dialogs Pin
J$22-Aug-07 18:55
J$22-Aug-07 18:55 
AnswerRe: Custom Save/Load Dialogs and Select Folder Dialogs Pin
Giorgi Dalakishvili22-Aug-07 21:00
mentorGiorgi Dalakishvili22-Aug-07 21:00 
Questioncant fix this error, need some help.... Pin
kb1ibh22-Aug-07 16:33
kb1ibh22-Aug-07 16:33 
AnswerRe: cant fix this error, need some help.... Pin
Christian Graus22-Aug-07 16:45
protectorChristian Graus22-Aug-07 16:45 
GeneralRe: cant fix this error, need some help.... Pin
kb1ibh22-Aug-07 17:51
kb1ibh22-Aug-07 17:51 
GeneralRe: cant fix this error, need some help.... Pin
Christian Graus22-Aug-07 18:44
protectorChristian Graus22-Aug-07 18:44 
QuestionList over a web service Pin
Yitzchok Dev22-Aug-07 16:16
Yitzchok Dev22-Aug-07 16:16 
AnswerRe: List over a web service Pin
Michael Sync22-Aug-07 17:28
Michael Sync22-Aug-07 17:28 
AFAIK, it is not possible to pass the custom object by using this attribute "Serializable". In our project, we used to pass the custom object from web application to web service. (there is one debate about "passing custom object vs passing individual parameter") In order to do that, we have to put XML Seriablzable attribute (as same as the one generate for Proxy Class) in custom class instead of "[Serializable]"

F16I wrote:
In the application that requests this web methed
*I get a can't cast exception*


It is probably because of one auto-generated class in your proxy class..
Please check your proxy class of your webservice.. I believe that there are one class like that in it..


public class SpecialOccasionsItem<br />
{   <br />
    public int ID;<br />
    public string MediaFile;<br />
    .... <br />
}


If I'm right, please comment this class.. copy the attributes from this class. and paste them at the top of your class..

Let me know if you are not clear...

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. Smile | :)

AnswerRe: List over a web service Pin
Mark Churchill23-Aug-07 20:16
Mark Churchill23-Aug-07 20:16 
GeneralRe: List over a web service Pin
Yitzchok Dev25-Aug-07 15:52
Yitzchok Dev25-Aug-07 15:52 
QuestionHow to upload an image using C# 2003?? Pin
H.Nhu VN22-Aug-07 15:36
H.Nhu VN22-Aug-07 15:36 
AnswerRe: How to upload an image using C# 2003?? Pin
Michael Sync22-Aug-07 15:39
Michael Sync22-Aug-07 15:39 
QuestionClipboard problem Pin
CodeItWell22-Aug-07 11:36
CodeItWell22-Aug-07 11:36 
AnswerRe: Clipboard problem Pin
snorkie22-Aug-07 11:42
professionalsnorkie22-Aug-07 11:42 
GeneralRe: Clipboard problem Pin
CodeItWell22-Aug-07 11:52
CodeItWell22-Aug-07 11:52 
GeneralRe: Clipboard problem Pin
Luc Pattyn22-Aug-07 12:58
sitebuilderLuc Pattyn22-Aug-07 12:58 
GeneralRe: Clipboard problem Pin
CodeItWell22-Aug-07 13:00
CodeItWell22-Aug-07 13:00 
Questionreading a string from a txt file & insert it in a database table? Pin
starist22-Aug-07 11:22
starist22-Aug-07 11:22 
AnswerRe: reading a string from a txt file & insert it in a database table? Pin
snorkie22-Aug-07 11:38
professionalsnorkie22-Aug-07 11:38 
AnswerRe: reading a string from a txt file &amp; insert it in a database table? [modified] Pin
WhiteGirl2322-Aug-07 23:08
WhiteGirl2322-Aug-07 23:08 
QuestionListbox and the groupbox relationship Pin
Blubbo22-Aug-07 10:31
Blubbo22-Aug-07 10:31 
AnswerRe: Listbox and the groupbox relationship Pin
Ravi Bhavnani22-Aug-07 10:44
professionalRavi Bhavnani22-Aug-07 10:44 
AnswerRe: Listbox and the groupbox relationship Pin
Luc Pattyn22-Aug-07 13:03
sitebuilderLuc Pattyn22-Aug-07 13:03 
GeneralRe: Listbox and the groupbox relationship Pin
ChrisKo23-Aug-07 7:23
ChrisKo23-Aug-07 7:23 
QuestionReplication Pin
Assaf8222-Aug-07 9:34
Assaf8222-Aug-07 9:34 

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.