Thursday, July 23, 2015

C# Difference between Form's Hide And Close Methods In Urdu

2 comments:

  1. How to Display a Current Login: John

    ReplyDelete
    Replies
    1. I know you are asking for this ... quite a few times ... It is very easy .. Since we are not using database in this tutorials so it can't be done. Follow the steps below.

      1) Create 2 Tables in your database. 1 for Login Details (such as UserId, UserName, Password etc) and 2 for Profile Data (such as Name, address, Email, Mobile, Phone) and use UserId as Foriegn Key in Profile table.
      2) Once you are authenticated just get the Name from Profile table using UserId.

      That's all it is and you can display that name on any screen you want afterwards.

      Thanks.

      Delete