| 
                                                                        
                                                                         
                                                                            
                                                                                Regus
                                                                            - 
                                                                                9/24/2012 6:48:20 AM
                                                                            
                                                                         
                                                                         
                                                                            
                                                                        
                                                                        
                                                                         
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
                                                                         
                                                                        
                                                                            Reading newsitems by category
                                                                        
                                                                            In one of my webparts I use this code to get all newsitems DataSet documents = tree.SelectNodes(CMSContext.CurrentSiteName, "/%", "en-US", false, "CMS.News");
  Now, I need to get only the items from category 'myCategory'. I understand I need to do this in the parameter "where". But I don't know the format of this clausule.  Could someone give me an example ?
                                                                         
                                                                        
                                                                            
                                                                         
                                                                        
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                         
                                                                     |