Click here to Skip to main content
15,881,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: Create Dynamic Buttons with EvenHandler C# Pin
Not Active29-Aug-07 17:44
mentorNot Active29-Aug-07 17:44 
GeneralRe: Create Dynamic Buttons with EvenHandler C# Pin
I Believe In GOD30-Aug-07 0:21
I Believe In GOD30-Aug-07 0:21 
GeneralRe: Create Dynamic Buttons with EvenHandler C# Pin
Not Active30-Aug-07 2:10
mentorNot Active30-Aug-07 2:10 
QuestionDetermine Double-Click / Middle Click using low-level mouse hook? Pin
wienzzz29-Aug-07 9:47
wienzzz29-Aug-07 9:47 
AnswerRe: Determine Double-Click / Middle Click using low-level mouse hook? Pin
xfitr229-Aug-07 16:42
xfitr229-Aug-07 16:42 
GeneralRe: Determine Double-Click / Middle Click using low-level mouse hook? Pin
wienzzz29-Aug-07 19:11
wienzzz29-Aug-07 19:11 
GeneralRe: Determine Double-Click / Middle Click using low-level mouse hook? Pin
wienzzz29-Aug-07 19:38
wienzzz29-Aug-07 19:38 
QuestionHow do I write XML into XMLDocument? Pin
oceanexplorer29-Aug-07 9:40
oceanexplorer29-Aug-07 9:40 
Hi,

I am currently returning an XmlDocument from a webservice using the following:

<br />
 [OperationContract]<br />
 [FaultContract(typeof(Anaqua.Domain.AnaquaServiceError))]<br />
 [XmlSerializerFormat]<br />
 public XmlDocument GetLawUpdateGenerationXML(short versionNum)<br />
 {<br />
     ///Code here to gets the xml from the db<br />
 }<br />


Then in my page that consumes the webservice I did the following:

<br />
XmlDocument doc = (XmlDocument)svc.GetLawUpdateGenerationXML(internalVersionNumber);<br />


However it is saying:

Cannot convert type 'System.Xml.XmlElement' to 'System.Xml.XmlDocument'

Now I think this is because of the serialization using[XmlSerializerFormat]

So how would I go about reading the XML into and XML Document?

Regards

Paul Custance
AnswerRe: How do I write XML into XMLDocument? Pin
pmarfleet29-Aug-07 11:56
pmarfleet29-Aug-07 11:56 
AnswerRe: How do I write XML into XMLDocument? Pin
Spacix One29-Aug-07 12:01
Spacix One29-Aug-07 12:01 
QuestionModal Window in Smart Parts Pin
umashankergr829-Aug-07 9:22
umashankergr829-Aug-07 9:22 
AnswerRe: Modal Window in Smart Parts Pin
Michael Sync29-Aug-07 17:40
Michael Sync29-Aug-07 17:40 
GeneralRe: Modal Window in Smart Parts Pin
Alaric_30-Aug-07 2:21
professionalAlaric_30-Aug-07 2:21 
GeneralRe: Modal Window in Smart Parts Pin
Michael Sync30-Aug-07 5:00
Michael Sync30-Aug-07 5:00 
GeneralRe: Modal Window in Smart Parts Pin
umashankergr830-Aug-07 8:28
umashankergr830-Aug-07 8:28 
QuestionFile.Exists problems with mapped network drive. Pin
UweOeder29-Aug-07 8:37
professionalUweOeder29-Aug-07 8:37 
AnswerRe: File.Exists problems with mapped network drive. Pin
snorkie29-Aug-07 8:54
professionalsnorkie29-Aug-07 8:54 
GeneralRe: File.Exists problems with mapped network drive. Pin
Vikram A Punathambekar29-Aug-07 17:41
Vikram A Punathambekar29-Aug-07 17:41 
AnswerRe: File.Exists problems with mapped network drive. [modified] Pin
Alaric_29-Aug-07 9:51
professionalAlaric_29-Aug-07 9:51 
AnswerRe: File.Exists problems with mapped network drive. Pin
Spacix One29-Aug-07 10:19
Spacix One29-Aug-07 10:19 
GeneralRe: File.Exists problems with mapped network drive. Pin
UweOeder29-Aug-07 20:46
professionalUweOeder29-Aug-07 20:46 
QuestionRijndael Encryption Question.. Pin
Dio2229-Aug-07 8:26
Dio2229-Aug-07 8:26 
AnswerRe: Rijndael Encryption Question.. [modified] Pin
Alaric_29-Aug-07 10:06
professionalAlaric_29-Aug-07 10:06 
AnswerRe: Rijndael Encryption Question.. Pin
xfitr229-Aug-07 16:46
xfitr229-Aug-07 16:46 
QuestionInstallation Binder / Deployment Utility Pin
Muhammad Nauman Yousuf29-Aug-07 8:14
Muhammad Nauman Yousuf29-Aug-07 8:14 

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.