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?
In this tutorial I will show you how to convert datetimeoffset to datetime using c#. Here, I want to save the datetime object value into the database. But the datetimeoffset was returning string value. In order to convert string (datetimeoffset) to datetime you may follow this way,
I got this above error "The method 'Skip' is only supported for sorted input in LINQ to Entities." while running the asp.net mvc application.
I have the following error on this method "Cannot implicitly convert type 'System.Linq.IOrderedQueryable<.Models.Student>' to 'System.Collections.Generic.IList
In this article I will show how to append new data to an xml file using c#. If you want to add data to xml file without reloading the xml file appending data to the first row using the xElement addBeforeSelf...
In this article, I will show you how to create a random generating alphanumeric stirng using asp.net C#. You can call this method by passing an integer as parameter.
In this article I will show you how to apply brightness of an image using c#.net. You can adjust the color components of the image from the input ranges between -255 and 255.
In this article I will show you how to convert binary data to image using c#. I have saved already stored image binary data into database.
In this article I will show you how to convert picture to black and white using c#. You need to pass the bitmap image to the following function.
You can create a virtual path i.e (folder) in the application called “Images” and save the images into it. When the user uploads the images using the file upload control,