| Author | 
         | 
         
      
        
         
         hamipers Newbie 
          
 
  Joined: 06 March 2008 Location: United States
 Online Status: Offline Posts: 11
          | 
        
         
          
           | Posted: 05 May 2008 at 11:31pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I use MailBee.NET Imap component to retrieve messages from my email server. When I display the message in an ASP.NET page in a GridView control, the messages are sorted in ascending order. Is there any way to fetch the messages in a descending order by date?
 Any help will be appreciated.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Andrew AfterLogic Support 
          
 
  Joined: 28 April 2006 Location: United States
 Online Status: Offline Posts: 1189
          | 
        
         
          
           | Posted: 06 May 2008 at 1:18am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Yes, it's possible. Imap.SortedSearch method allows you to do this.
 
 Best regards,
 Andrew
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |