Tags: Asp.net

How to connect database in asp.net

{0 Comments}

To connect a data base in asp.net we can use two methods or ways. First one can be the page another can be assigning in web config file and the access the connection any where in the solution. But before starting please notice, that you must have desired namespace included. In this article we are …

Read More…

How to get client(PC) date and time in asp.net?

{0 Comments}

Getting time and date of user’s personal computer is little bit tricky in asp.net because using most popular code which is below we can get only the server date and time which is not the exact solution when you need the date time of your personal or any ones computer.   C# |  copy code |? 1DateTime.Now.ToString(); Solution for this problem …

Read More…