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 [...]

To create a new XmlDocument, start by creating an XmlDocument object. The XmlDocument object contains CreateElement and CreateAttribute methods that are used to add nodes to the XmlDocument object. The XmlElement contains the Attributes property, which is an XmlAttribute-Collection. The XmlAttributeCollection inherits from the XmlNamedNodeMap class, which is a collection of names with corresponding values. [...]

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.

Are you Searching for a web control for your webpage which allows you to create a cool slideshow of images?? Slide.Show Vertigo Has developed an open source control in silverlight which is highly customised and can be used by publishing highly-customizable photo and video slideshows on the Web. Features of Slide.Show Minimal setup and configuration [...]

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 [...]

Ever wondered even if you could see the contents of your mobile phone on a table as soon as you put the device on the table!!! Or if you could drag a physical photograph of yours[which is also kept on table] towards the mobile and a copy of it gets stored into the mobile phone. [...]