Click here to Skip to main content
15,909,605 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to present the link more elegant(ASP.Net,C#.Net) [modified] Pin
Jayadheer Reddy5-Oct-10 3:40
Jayadheer Reddy5-Oct-10 3:40 
AnswerRe: How to present the link more elegant(ASP.Net,C#.Net) Pin
Brij5-Oct-10 4:56
mentorBrij5-Oct-10 4:56 
QuestionGridview with rows calcul Pin
amina895-Oct-10 3:11
amina895-Oct-10 3:11 
AnswerRe: Gridview with rows calcul Pin
NeverHeardOfMe5-Oct-10 3:37
NeverHeardOfMe5-Oct-10 3:37 
AnswerRe: Gridview with rows calcul Pin
Brij5-Oct-10 4:06
mentorBrij5-Oct-10 4:06 
QuestionRe: Gridview with rows calcul Pin
amina895-Oct-10 23:41
amina895-Oct-10 23:41 
QuestionXML Problem Pin
InderK5-Oct-10 1:37
InderK5-Oct-10 1:37 
AnswerRe: XML Problem Pin
torken25-Oct-10 2:16
professionaltorken25-Oct-10 2:16 
Load the xml with the XmlDocument and use xpath to get the nodes. Iterate those nodes the read the attribute.

Example:
<code>

            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.Load("XMLFile.xml");
            XmlNodeList selectedNodes =  xmlDoc.SelectNodes("//Store[@Stores>30]");

            foreach (XmlNode item in selectedNodes)
            {
                Console.WriteLine(item.Attributes["name"].Value);
            }

            Console.ReadLine();
</code>



My xml file:
<?xml version="1.0" encoding="utf-8" ?>
<Stores>
  <Store name="Name1" store="10"/>
  <Store name="Name2" store="20"/>
  <Store name="Name3" store="30"/>
  <Store name="Name4" store="40"/>  
</Stores>

AnswerCross post Pin
Not Active5-Oct-10 2:24
mentorNot Active5-Oct-10 2:24 
QuestionPrevent upload of renamed and Password protected file in asp.net C# Pin
Arokiamary5-Oct-10 1:27
Arokiamary5-Oct-10 1:27 
AnswerRe: Prevent upload of renamed and Password protected file in asp.net C# Pin
Not Active5-Oct-10 2:22
mentorNot Active5-Oct-10 2:22 
AnswerRe: Prevent upload of renamed and Password protected file in asp.net C# Pin
NeverHeardOfMe5-Oct-10 3:23
NeverHeardOfMe5-Oct-10 3:23 
Questionquery string question Pin
swjam4-Oct-10 23:28
swjam4-Oct-10 23:28 
AnswerRe: query string question Pin
Gamzun5-Oct-10 0:24
Gamzun5-Oct-10 0:24 
GeneralRe: query string question Pin
swjam5-Oct-10 0:59
swjam5-Oct-10 0:59 
GeneralRe: query string question Pin
Not Active5-Oct-10 1:18
mentorNot Active5-Oct-10 1:18 
GeneralRe: query string question Pin
swjam5-Oct-10 1:46
swjam5-Oct-10 1:46 
GeneralRe: query string question Pin
Not Active5-Oct-10 2:20
mentorNot Active5-Oct-10 2:20 
QuestionCalling multiple Page Methods in parallel Pin
Raheem MA4-Oct-10 22:54
Raheem MA4-Oct-10 22:54 
QuestionConsume the Siebel On Demand web service in .Net console application. Pin
Anurag_sriv4-Oct-10 21:33
Anurag_sriv4-Oct-10 21:33 
AnswerRe: Consume the Siebel On Demand web service in .Net console application. Pin
Anurag_sriv7-Oct-10 23:37
Anurag_sriv7-Oct-10 23:37 
QuestionRequest.Cookies.Add Vs Response.Cookies.Add Pin
Gamzun4-Oct-10 21:16
Gamzun4-Oct-10 21:16 
Questionhtml table in mobile web Pin
behzadcp4-Oct-10 20:23
professionalbehzadcp4-Oct-10 20:23 
QuestionCreating a new ASP.Net Web App. Where to start. Pin
Kris Traughber4-Oct-10 14:31
Kris Traughber4-Oct-10 14:31 
AnswerRe: Creating a new ASP.Net Web App. Where to start. Pin
Not Active4-Oct-10 17:18
mentorNot Active4-Oct-10 17:18 

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.