Hi All,
I am trying to populate my msqmq Q in my datagrid view,
I used the property below to receive the queue but,
mes = Queue.Receive(new TimeSpan(0, 0, 3));
.
The problem with this is it will delete the queue also, so some one suggested using peek.
mes = Queue.Peek(new TimeSpan(0, 0, 3));
But it only gets the top queue,
how can I get all the queue's? I was reading something about 'enumerator' but couldn't find examples to solve my problem.