Home Programming

Programming

Tips and Best practices of programming

Convert HTML to Javascript, PHP and ASP Scripts

Writing HTML codes is not much of a task but creating an equivalent code in Javascript, PHP and ASP is little tough when you have a big piece of code that...

Convert black and white images to Color : Image transformation

If you are looking for a simple but effective software to convert  gray scale ( black and white ) images into Colored images , Check out the Image Transformation Code @...

How to handle DBNULL and Date in LINQ to Dataset

Situation :I used a Dataset to map to my Access Database. Once Dataset created we can use it with LINQ like we use LINQ to SQL or LINQ to Entity.Problem:My database...

Convert HTML to Javascript DOM [ Online Tool ]

There are lot of scenarios where a programmer is required to convert HTML code rendered using Javascript instead of using it directly over the page. HTML2JS is one such online tool...

How to use escape sequences in strings using VB.Net

Visual Basic does not support control or special or escape sequences like “n” ( new line ) or “t” which forces VB programmers to use constants like ControlChars.Crlf and ConrolChars.Tab. The biggest...

5 Wrong ways to check empty strings

It is one of the common mistake that people compare a string with “” or String.Empty in VB.Net or C# to find its empty. Here are few examples. // C# ...

Check for length too when you check for null strings in VB.Net and C#

Its a good idea to check for null object reference to prevent NullReferenceException when it comes to objects but in case of Strings sometimes you get a string without any value...

Generate Hex Code of your name or just any text [ Programming ]

Remember those scare hex code which we used to in machine codes like using 80386 and 8085. I remember how tough was to do that , well not really but yea...

XPath Tutorial with Examples

This post is a small introduction for xpath (XML Path Language) is a terse (non-XML) syntax for addressing portions of an XML document. XPath has rapidly been adopted by developers as...

LINQ Tutorial with Dot Net Framework 3.0 and 3.5

With the advancement of technologies and database it has become a great challenge to retrieve data faster and with less burden on programming part.It has become apparent that the next big...

Recent Posts