Click here to Skip to main content
15,913,467 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: webserver Pin
boyindie10-Aug-07 0:54
boyindie10-Aug-07 0:54 
GeneralRe: webserver Pin
R. Giskard Reventlov10-Aug-07 1:08
R. Giskard Reventlov10-Aug-07 1:08 
Questionhow to parse xml string not xml file Pin
deepalititi9-Aug-07 22:49
deepalititi9-Aug-07 22:49 
QuestionInserting data into a database Pin
Mamphekgo Bahula9-Aug-07 22:43
Mamphekgo Bahula9-Aug-07 22:43 
AnswerRe: Inserting data into a database Pin
Imran Khan Pathan9-Aug-07 23:17
Imran Khan Pathan9-Aug-07 23:17 
GeneralRe: Inserting data into a database Pin
Mamphekgo Bahula10-Aug-07 0:19
Mamphekgo Bahula10-Aug-07 0:19 
QuestionThe state information is invalid for this page and might be corrupted in asp.net Pin
Ramesh Devalla9-Aug-07 22:37
Ramesh Devalla9-Aug-07 22:37 
QuestionPopulate ListBox with XML Data? Pin
chand109-Aug-07 22:28
chand109-Aug-07 22:28 
Hi
In my application, I have a ListBox which is to be filled with the values in XML file.

My application goes like this.....

I am getting a State name of USA from the QueryString, with the help of a that QueryString I have to get the Names of Counties of that State, which r in a XML file on to a ListBox.

My XML File looks like this

<USA>
<CountyUSA>
<StateCode>AK</StateCode>
<StateName>Alaska </StateName>
<CountyName>Aleutians East</CountyName>
</CountyUSA>
<CountyUSA>
<StateCode>AK</StateCode>
<StateName>Alaska </StateName>
<CountyName>Aleutians West</CountyName>
</CountyUSA>
.....
.....
<CountyUSA>
<StateCode>AL</StateCode>
<StateName>Alabama </StateName>
<CountyName>Autauga</CountyName>
</CountyUSA>
<CountyUSA>
<StateCode>AL</StateCode>
<StateName>Alabama </StateName>
<CountyName>Baldwin</CountyName>
</CountyUSA>
.....
.....
<CountyUSA>
<StateCode>GA</StateCode>
<StateName>Georgia </StateName>
<CountyName>Campbell</CountyName>
</CountyUSA>
<CountyUSA>
<StateCode>GA</StateCode>
<StateName>Georgia </StateName>
<CountyName>Milton</CountyName>
</CountyUSA>
</USA>

How can I get only County Names of a particular State for this XML file.

Suggest me an Example.


I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison

Thank u
Chandu
AnswerRe: Populate ListBox with XML Data? Pin
Imran Khan Pathan9-Aug-07 23:23
Imran Khan Pathan9-Aug-07 23:23 
GeneralRe: Populate ListBox with XML Data? Pin
chand109-Aug-07 23:41
chand109-Aug-07 23:41 
GeneralRe: Populate ListBox with XML Data? Pin
Imran Khan Pathan9-Aug-07 23:57
Imran Khan Pathan9-Aug-07 23:57 
GeneralRe: Populate ListBox with XML Data? Pin
chand1010-Aug-07 0:42
chand1010-Aug-07 0:42 
GeneralRe: Populate ListBox with XML Data? Pin
Imran Khan Pathan10-Aug-07 1:27
Imran Khan Pathan10-Aug-07 1:27 
AnswerRe: Populate ListBox with XML Data? Pin
Piyush Vardhan Singh9-Aug-07 23:46
Piyush Vardhan Singh9-Aug-07 23:46 
GeneralRe: Populate ListBox with XML Data? Pin
Piyush Vardhan Singh9-Aug-07 23:55
Piyush Vardhan Singh9-Aug-07 23:55 
GeneralRe: Populate ListBox with XML Data? Pin
chand1010-Aug-07 0:04
chand1010-Aug-07 0:04 
Questionvirtual directory to install a web service - error during installation Pin
steve_rm9-Aug-07 22:27
steve_rm9-Aug-07 22:27 
QuestionControl state Pin
Sohaib_pak9-Aug-07 22:26
Sohaib_pak9-Aug-07 22:26 
QuestionHow to display xml data in hierarchial grid in asp.net application Pin
Pravat Sharma9-Aug-07 21:49
Pravat Sharma9-Aug-07 21:49 
Questionip-address Pin
Sonia Gupta9-Aug-07 21:38
Sonia Gupta9-Aug-07 21:38 
AnswerRe: ip-address Pin
Talal Sultan9-Aug-07 22:37
Talal Sultan9-Aug-07 22:37 
QuestionUsercontrol's property wasn't changed by inside event... Pin
kokain9-Aug-07 21:31
kokain9-Aug-07 21:31 
AnswerRe: Usercontrol's property wasn't changed by inside event... Pin
N a v a n e e t h9-Aug-07 23:34
N a v a n e e t h9-Aug-07 23:34 
GeneralRe: Usercontrol's property wasn't changed by inside event... Pin
kokain9-Aug-07 23:41
kokain9-Aug-07 23:41 
Questionviewstate Pin
Sonia Gupta9-Aug-07 21:28
Sonia Gupta9-Aug-07 21:28 

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.