Click here to Skip to main content
15,890,946 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: VS2005 Load Test Pin
Paul Conrad1-Dec-07 15:28
professionalPaul Conrad1-Dec-07 15:28 
GeneralRe: VS2005 Load Test Pin
alimohammed5-Dec-07 23:56
alimohammed5-Dec-07 23:56 
QuestionCreating webservices in .NET 1.1 and .NET 2.0 Pin
kalaiV30-Nov-07 1:15
kalaiV30-Nov-07 1:15 
AnswerRe: Creating webservices in .NET 1.1 and .NET 2.0 Pin
Paul Conrad30-Nov-07 4:05
professionalPaul Conrad30-Nov-07 4:05 
GeneralRe: Creating webservices in .NET 1.1 and .NET 2.0 Pin
ReactiveX3-Dec-07 18:18
ReactiveX3-Dec-07 18:18 
QuestionWSS 3.0 and .NET HELP! Pin
paulkeys29-Nov-07 20:39
paulkeys29-Nov-07 20:39 
AnswerRe: WSS 3.0 and .NET HELP! Pin
paulkeys29-Nov-07 20:41
paulkeys29-Nov-07 20:41 
QuestionCan I load an XPath result XmlNodeList into a DataSet/DataGrid? Pin
jack8091829-Nov-07 7:53
jack8091829-Nov-07 7:53 
I'm writing a C# Windows/.Net 2.0 app which will take a large XML document as an initial input. My form has 4 basic controls: 3 comboboxes (Country, State, and City) for filtering the XML data and a DataGrid to display the results. The XML doc has this format:

<updates xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<locations>
<country name="United States">
<state name="California">
<city name="Santa Monica">
<location id="2" venue_id="1" category="Hotel" name="Example Hotel" address="3214 Wilshire Blvd." zipcode="90404"/>
<location id="3" venue_id="2" category="Airport" name="Santa Monica Airport" address=" 3223 Donald Douglas Loop"/>
</city>
<city name="Los Angeles">
<location id="4" venue_id="3" category="wwan" name="Cell Carrier GPRS Network" address="Entire LA Metro Area"/>
</city>
<city name="San Diego">
<location id="5" venue_id="1" category="Hotel" name="Mike Hotel" address="3214 Mike Blvd." zipcode="90414"/>
<location id="6" venue_id="2" category="Airport" name="John Airport" address=" 3223 john Douglas Loop S Ste 3"/>
<location id="7" venue_id="1" category="Cafe" name="New Hotel" address="3214 New Scott Blvd." zipcode="90434"/>
<location id="8" venue_id="2" category="Bar" name="New Airport" address=" 3223 New Douglas Loop S Ste 4"/>
</city>
</state>
<state name="Colorado">
<city name="Colorado Springs">
<location id="2" venue_id="1" category="Hotel" name="Example Hotel" address="3214 El Paso Blvd." zipcode="90404"/>
<location id="3" venue_id="2" category="Airport" name="Colorado Springs Airport" address=" 3223 Airport Drive"/>
</city>
<city name="Denver">
<location id="4" venue_id="3" category="wwan" name="Cell Carrier GPRS Network" address="Entire COSP Metro Area"/>
</city>
</state>
</country>
</locations>
</updates>

I have no problem using XPath queries to extract the values to populate the Country, State, and City comboboxes; each selection drives the data in the subsequent combobox. Upon selection in the City combobox, I can query for a resulting set of 'locations'. My problem is how to stuff this XmlNodeList into a DataSet which I can then use with my DataGrid. I have no problem reading an entire document into a DataSet

DataSet ds = new DataSet();
ds.ReadXml("Test.Search.xml");

but have no idea how to stuff an XmlNodeList into one.
Thanks.

Jack80918
GeneralRe: Can I load an XPath result XmlNodeList into a DataSet/DataGrid? Pin
ReactiveX3-Dec-07 18:23
ReactiveX3-Dec-07 18:23 
QuestionAnyone using FCKeditor? Pin
#realJSOP29-Nov-07 6:11
mve#realJSOP29-Nov-07 6:11 
GeneralRe: Anyone using FCKeditor? Pin
Pete O'Hanlon3-Dec-07 10:40
mvePete O'Hanlon3-Dec-07 10:40 
GeneralRe: Anyone using FCKeditor? Pin
johnboker7-Dec-07 17:07
johnboker7-Dec-07 17:07 
QuestionCrash on running clr console application with MFC support Pin
carabutnicolae123429-Nov-07 5:37
carabutnicolae123429-Nov-07 5:37 
AnswerRe: Crash on running clr console application with MFC support Pin
Dave Kreskowiak29-Nov-07 8:27
mveDave Kreskowiak29-Nov-07 8:27 
QuestionProgrammatic .NET Language Translation Pin
Fahad Sadah29-Nov-07 5:08
Fahad Sadah29-Nov-07 5:08 
GeneralRe: Programmatic .NET Language Translation Pin
Helge Kalnes6-Dec-07 11:49
Helge Kalnes6-Dec-07 11:49 
GeneralRe: Programmatic .NET Language Translation Pin
Fahad Sadah9-Dec-07 1:07
Fahad Sadah9-Dec-07 1:07 
Questionhow can i make setup of my project with trial version Pin
Ravi_2128-Nov-07 21:25
Ravi_2128-Nov-07 21:25 
AnswerRe: how can i make setup of my project with trial version Pin
Fahad Sadah29-Nov-07 5:23
Fahad Sadah29-Nov-07 5:23 
GeneralRe: how can i make setup of my project with trial version Pin
ReactiveX3-Dec-07 18:26
ReactiveX3-Dec-07 18:26 
GeneralRe: how can i make setup of my project with trial version Pin
Mark Churchill4-Dec-07 4:05
Mark Churchill4-Dec-07 4:05 
QuestionRegex - specify a max. length? Pin
boy.pockets28-Nov-07 19:57
boy.pockets28-Nov-07 19:57 
AnswerRe: Regex - specify a max. length? Pin
gericooper28-Nov-07 20:26
gericooper28-Nov-07 20:26 
GeneralRe: Regex - specify a max. length? [modified] Pin
gericooper28-Nov-07 20:36
gericooper28-Nov-07 20:36 
GeneralRe: Regex - specify a max. length? Pin
boy.pockets28-Nov-07 21:33
boy.pockets28-Nov-07 21:33 

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.