Your question is not clear to me. :sigh:
venkataramreddy wrote:
So my Question is i want to display all the users who are logged into the system in some popup message(User Id and password whose status=1 in the database table )
If you want just this,
You can fetch values from database, create a string of all users whose status is 1 and display it in a MessageBox.
But this doesn't seems to be good idea of showing all logged in users.
Just imagine a case when 1000s of users are logged in.
If this is not what you are looking for, then you need to explain your question clearly.