Click here to Skip to main content

XML / XSL

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
AnswerRe: Accessing a image from a xml file and display in visual studio picture box PinmvpRichard MacCutchan23:31 22 Feb '10  
Questionxsd to entity [modified] Pinmemberpokiri18:45 22 Feb '10  
AnswerRe: xsd to entity PinsupporterMark Nischalke22:01 22 Feb '10  
QuestionHow to delete duplicate nodes from XML throgh C#? Pinmemberdeadlyabbas20:12 18 Feb '10  
QuestionProblem with MSXML6 + namespace + XPath PinmemberPatrice.Espie5:57 18 Feb '10  
AnswerRe: Problem with MSXML6 + namespace + XPath PinmvpStuart Dootson1:10 23 Feb '10  
QuestionProblem with loading a xml to DataSet Pinmemberalireza_shokoie0:42 16 Feb '10  
Hi all,
 
I've xml string and I can load it with XmlDataDocument.LoadXml successfully,
so that OuterXml shows the real xml string. But when I want to load in a dataset, the result dataset has no table(Tables.Count=0).
Typical code is as follows:
 
...
XmlDataDocument Doc = new XmlDataDocument();
 
/*
string Str = "<Result><DN>22800661</DN><ID>1</ID><Status><Line>Idle</Line></Status></Result>";
*/
 
Doc.LoadXml(Str);
DataSet datasetResult = Doc.DataSet;
if(datasetResult.Tables.Count == 0) return;
...
 
and it returns that means datasetResult.Tables.Count is always 0.
 
Can anyone help me, what is wrong?
 
Thanks in advance
AnswerRe: Problem with loading a xml to DataSet Pinmemberdaveyerwin3:51 18 Feb '10  
QuestionXSL help PinmemberMember 39976061:13 7 Feb '10  
AnswerRe: XSL help PinmvpStuart Dootson2:09 7 Feb '10  
QuestionUsing MSXML2.ServerXMLHTTP.4.0 and ASP Pinmembertommywick655:49 6 Feb '10  
QuestionXSL import another XSL on Client-Side. Pinmemberyeob21:22 4 Feb '10  
AnswerRe: XSL import another XSL on Client-Side. Pinmemberdaveyerwin5:19 5 Feb '10  
GeneralRe: XSL import another XSL on Client-Side. Pinmemberyeob20:04 7 Feb '10  
GeneralRe: XSL import another XSL on Client-Side. Pinmemberdaveyerwin4:39 8 Feb '10  
QuestionMessage Removed Pinmemberajester67:50 4 Feb '10  
AnswerRe: Newbie question - can't figure out xsl PinsupporterMark Nischalke7:54 4 Feb '10  
AnswerRe: Newbie question - can't figure out xsl PinmvpRichard MacCutchan7:57 4 Feb '10  
QuestionSAOP Question Pinmembercmpemikail0:38 2 Feb '10  
AnswerRe: SAOP Question PinmemberSeMartens21:27 2 Feb '10  
GeneralImporting COM dll from unix Pinmembertom groezer1:42 1 Feb '10  
GeneralRe: Importing COM dll from unix PinmvpStuart Dootson4:03 1 Feb '10  
GeneralRe: Importing COM dll from unix Pinmembertom groezer3:04 2 Feb '10  
GeneralRe: Importing COM dll from unix PinmvpStuart Dootson3:39 2 Feb '10  
GeneralRe: Importing COM dll from unix Pinmembertom groezer19:57 7 Feb '10  

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

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


Advertise | Privacy | Mobile
Web02 | 2.5.120210.1 | Last Updated 10 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid