Latest posts on tagged on "ASP"

C# method to determine whether the client disables cookies

30 August 2018

For security reasons, some clients disable cookies. When you want to use cookies to store some information (especially some critical information), you need to determine whether the customer has disabled cookies. How to judge?

How to get current page url in asp.net c#?

14 January 2017

In this article, I will show how to get current page url using asp.net c#. We can get current page url using HttpContext.Request.Url.ToString() or HttpContext.Request.Url.AbsoluteUri.

How to create registration form in asp.net with sql database?

10 January 2017

In this article, I will show to how to create a registration form in asp.net with c# code. First, create a registration form in asp.net and create a table named “userLogin” in SQL server to store the details of registration form.

How to get websites favicon in mvc asp.net?

27 July 2016

You can use HTML agility pack or XmlDocument and get favicon. The following code will bring the path of website’s icon.

How to clear session in asp.net?

19 April 2016

In this article I will explain how to clear session in asp.net with an example. If you want to remove the specific session then you can set it as null or “”.

What is Polymorphism in asp.net?

8 April 2016

In this article, I describe what is polymorphism and when we use polymorphism in asp.net. polymorphism is one of the object oriented programming. It allows you to invoke derived class methods through a base class reference during runtime.

How to get selected dropdown text and value using jquery in asp.net?

28 March 2016

In this Article, I explain how to get selected dropdown text and value using jquery in asp.net. Here I am using jquery 1.8.3 for achieve this. Here I demonstrate a simple example of binding a country with dropdownlist.

Page 1 of 4