Thank you a lot,
but in this code line
lblLoggedInDateTime.Text = DateTime.Now.ToString();
it gives me an error, tells that " Object reference not set to an instance of an object".
What should I do?
In addition, I used the object data source and data access layer to connect the grid view data to MySQL database.