Convert from decimal to hex and hex to decimal in C#.net

Convert DECIMAL TO HEX and HEX TO DECIMAIL In this post, we can see how we can convert Decimal to hex and hex to decimal. Code: // Store 255 in int int decValue = 255; // Convert int 255 as a hex in a string variable string hexValue = decValue.ToString("X"); // Convert the hex string back to the number int decAgain = int.Parse(hexValue,System.Globalization.NumberStyles.HexNumber); I hope this post is useful for you, If any better way is there then this please let me know. Thanks, ...
Read More

Mail SMS alert in India Free! Tip

Incoming mail SMS alert in India Free! Tip Copied from way2sms IMPORTANT NOTICE, Updated on April 22th, 2010. “As you may know, we frequently review our products and features to ensure their effectiveness.After reviewing our ‘Way2SMS Mail’ feature, which allows you to ’send and receive emails’, we’ve found that it hasn’t had the impact we had hoped for. As a result, we’ve decided to retire this feature at the end of April.So,We request you to make necessary arrangements before 30th of April...
Read More

Iscaps on in webpage

Caps lock finder for web page Use this code to find out caps lock on/off. It is easy. <html> <body> <input id="Txt" type="text" onkeydown="KeyDown(event);" onkeyup="KeyUp(event);" onkeypress="KeyPress(event);" /> <script type="text/javascript"> var shiftkey=false; function KeyDown(e) { if(e.keyCode==16) shiftkey=true; } function KeyUp(e) { if(e.keyCode==16) shiftkey=false; } function KeyPress(e) { if(((!shiftkey)&&e.keyCode>=65&&e.k...
Read More