Click here to Skip to main content
14,875,792 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi..

i want a code about c# application when user login than all user name display in Grid View control other form..

thank you..
Posted
Comments
RakeshMeena 9-Jun-11 5:26am
   
Do you want to show all the logged in users or the user who have visited your site?

Hi,

You need to maintain status of user in database for online users then add where condition with 'status=true' at the time of binding gridview
   
You need to read on Login page design. Using MS login control released in ASP.NET2.0 will give you all needed features like display name directly.

Look here:Traditional Login page design discussion[^]

Login Controls that were released by Microsoft, have a look at them here[^].

For, building Login Page using Login control, look:
How to: Create an ASP.NET Login Page[^]
ASP.NET Login Controls Overview[^]
How to add a Login, Roles and Profile system to an ASP.NET 2.0 [^]
   
Comments
NandaKumer 9-Jun-11 21:27pm
   
nice

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900