How to show the user one day behind messages in Vb.net webform?
- by ahmed
I am working on a Incoming and outgoing messages webform, I would like to show the users the only messages in their INBOX of one day behind. I have a dropdown where I'm giving the selection of All and Pending messages. But if the users have any pending messages in INBOX of just one day behind ,they have to choose All to retrieve the messages.
So how do I retrieve messages from message table of just one day behind ? I am using SQL 2000 vb.net web application.