Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
The following function will compress a string using GZipStream.

The following code will prevent the web page from being cached by the Client Browser. Use this code in pageload.

This code will useful for validating zip Code, telephone no where we have to enter only numbers in textbox. We can write javascript to check it or we also can use regular expression to do so. This is just another method to check it.

The Blog will describe how to disable browser back button functionality using Pagebehind(C#)

This article will illustrate how to populate DataView from DataReader in C#. In many scenarios we may have the data in DataReader which is required to be bind to GridView or some other control. In this scenario we can populate a DataView from DataReader and then provide the populated DataView to our Control.

The following javascript code will disable browser back button functionality in Mozilla.

How to enter only letters(caps and small both) as input in to text box.

Its all about accessing one control in one form from another control in another form.

You can extend the jquery object yourself with the extend method and then use those methods you created as if it were any other jquery object.

I am not a regular writer of such article but I have found that people spend more time in company then required and I can’t stop myself writing this article.
Everything on C#, not only its blogs: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog