Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
QuestionLanguage of Resource DLL (.net) Pin
M i s t e r L i s t e r17-Nov-07 13:42
M i s t e r L i s t e r17-Nov-07 13:42 
AnswerRe: Language of Resource DLL (.net) Pin
wizfrog17-Nov-07 14:10
wizfrog17-Nov-07 14:10 
GeneralRe: Language of Resource DLL (.net) Pin
M i s t e r L i s t e r18-Nov-07 6:57
M i s t e r L i s t e r18-Nov-07 6:57 
QuestionUsing an XML DB in Visual C# Pin
wizfrog17-Nov-07 13:38
wizfrog17-Nov-07 13:38 
AnswerRe: Using an XML DB in Visual C# Pin
Not Active17-Nov-07 14:11
mentorNot Active17-Nov-07 14:11 
GeneralRe: Using an XML DB in Visual C# Pin
wizfrog17-Nov-07 14:35
wizfrog17-Nov-07 14:35 
GeneralRe: Using an XML DB in Visual C# Pin
Not Active17-Nov-07 16:37
mentorNot Active17-Nov-07 16:37 
QuestionNode List Problem Pin
merrsh197817-Nov-07 11:23
merrsh197817-Nov-07 11:23 
Hello,

Simple problem but its causing me grief.

I want to consume an RSS feed and display a varying amount of stories on different web pages.

If I retrieve the xml document and then use xpath to drill down to the items I get a nodelist like so:

XmlNodeList nl = rssDoc.SelectNodes("rss/channel/item");

Now, what is the best way (if this list contains say 30 stories) to convert it to a node list of say 3 stories?

I appreciate this is probably either:

a. 2 lines of code
b. not possible.

Help please?

AnswerRe: Node List Problem Pin
wizfrog17-Nov-07 14:42
wizfrog17-Nov-07 14:42 
GeneralRe: Node List Problem Pin
merrsh197817-Nov-07 20:03
merrsh197817-Nov-07 20:03 
GeneralRe: Node List Problem Pin
merrsh197818-Nov-07 9:36
merrsh197818-Nov-07 9:36 
AnswerRe: Node List Problem Pin
Ravi Bhavnani17-Nov-07 16:47
professionalRavi Bhavnani17-Nov-07 16:47 
QuestionTreeView Images (Image Array) Pin
Jeffrey Walton17-Nov-07 10:17
Jeffrey Walton17-Nov-07 10:17 
QuestionRe: TreeView Images (Image Array) Pin
Jeffrey Walton17-Nov-07 11:04
Jeffrey Walton17-Nov-07 11:04 
QuestionRe: TreeView Images (Image Array) Pin
Jeffrey Walton17-Nov-07 12:10
Jeffrey Walton17-Nov-07 12:10 
AnswerRe: TreeView Images (Image Array) Pin
Jeffrey Walton17-Nov-07 22:34
Jeffrey Walton17-Nov-07 22:34 
AnswerRe: TreeView Images (Image Array) Pin
Luc Pattyn17-Nov-07 12:56
sitebuilderLuc Pattyn17-Nov-07 12:56 
GeneralRe: TreeView Images (Image Array) Pin
Jeffrey Walton17-Nov-07 13:04
Jeffrey Walton17-Nov-07 13:04 
GeneralRe: TreeView Images (Image Array) Pin
Luc Pattyn18-Nov-07 1:26
sitebuilderLuc Pattyn18-Nov-07 1:26 
GeneralRe: TreeView Images (Image Array) Pin
Jeffrey Walton18-Nov-07 2:56
Jeffrey Walton18-Nov-07 2:56 
QuestionFolderBrowser exception Pin
martin_hughes17-Nov-07 9:14
martin_hughes17-Nov-07 9:14 
AnswerRe: FolderBrowser exception Pin
Luc Pattyn17-Nov-07 9:53
sitebuilderLuc Pattyn17-Nov-07 9:53 
GeneralRe: FolderBrowser exception Pin
martin_hughes17-Nov-07 10:28
martin_hughes17-Nov-07 10:28 
QuestionList of Network Connection Pin
Muhammad Nauman Yousuf17-Nov-07 8:02
Muhammad Nauman Yousuf17-Nov-07 8:02 
Questionopen file for writing text(not bytes) and share access Pin
gizmokaka17-Nov-07 7:42
gizmokaka17-Nov-07 7:42 

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.