One of the secret coding feature in C# is data type aliasing. If you want to use a data type, but think you may need to change to a different data type at some time in the future, define an alias for the data type and use the alias throughout the rest of your code. [...]

Strings are immutable. In other words, a string cannot be changed once it is assigned. When you append a string to an existing string, the .NET Framework actually creates a new string containing the original string and the appended string. If you are thinking that this takes extra processing time, you are correct. String concatenation [...]

Well the task is to create a vertical text scroller. It can be done using the javascript code. Let me explain the process: First of all lets make the form scrolling. So,In the html form do the following add the following attributes to the body tag onMouseover=”scrollspeed=0″ onMouseout=”scrollspeed=current” OnLoad=”NewsScrollStart();” And the javascript functions used above [...]

In this post, I have used Regular expression to validate if the IP address provided as string is valid IP Address or not. Usefull when we want user to input IP address in our application and we want to check if the IP address is corrct format or not.

The task is to parse a XML file retrieved from the RSS feed. Below is the sample partial XML file taken from a Leading Geographical alerts website’s RSS feeds. As we can we there are two items(alerts) in the file one for Tropical Cyclone SINLAKU-08 and other for Tropical Cyclone IKE-08. Lets write the code [...]

Problem: How to pass values into a usercontrol as querystrings in asp.net. More References to the problem as as follows: Pass querystring to user control? Pass QueryString as Integer to UserControl Solution: One Can definitely use Session Variables to give the functionality. Set the session variable value in the page and then retrieve the value [...]