need help regarding my project on c#
i m creating an online messaging website,in which in the inbox or outbox all the messages from different users are displaying seperately,at first i want to group the messages according to the names of the sender and the i want it to display only last 2-3 messages of the sender in the inbox or outbox page,and after clicking on tha message it displays the whole message.can anyone help me with this issue?