14/09/2014 by Nitesh

How To Receive Files In Windows 8.1 Using Bluetooth

Friends, I use a Windows Phone 8.1 and recently I needed to transfer some files to my Laptop running Windows 8.1 using Bluetooth. I started Bluetooth in my laptop but I could not see a direct menu item to receive files from my phone. When I tried sending files from my phone, it said “The…

Continue Reading »

05/06/2014 by Nitesh

How To Check If a Column Exists in DataRow

Friends, This is a very small post to explain how can you check whether a column exists in a DataRow. This is a very handy tip when you are working with a set of data and you’re not sure everytime the query will return a specific column. Let us assume we have a DataRow named…

Continue Reading »

20/05/2014 by Nitesh

How To Retrieve Client’s Date in ASP.Net – Easiest way

Friends, A very short post for a simple task. In this post, we will see how we can get the date of a user browsing the page on server in ASP.Net. DateTime.Now gives us the server Date & Time. Retrieving Client’s date is required in cases when you want to process something based on browser’s…

Continue Reading »

15/05/2014 by Nitesh

How To Add Captcha To Your ASP.Net WebForms Project in 5 minutes

Friends, Spamming is one of the issues we all are trying to deal with. One of the major ways of spamming is to submit forms automatically on your website. Captcha is one of the ways that deals with automated form submission by displaying random image to a user and asking the user to fill int…

Continue Reading »

28/04/2014 by Nitesh

How To Round a decimal value to 2 decimal places in C#

Friends, This is a very basic post that will explain few ways of restricting a decimal value to 2 decimal places in C#. Normally, we need to output the decimal values to 2 precision numbers. However, sometimes we also need to restrict the decimal variable itself to store not more than 2 decimal values (For…

Continue Reading »

1 2 3 4 6