Monthly Archive:: February 2013

Sql Query to add comma in price using SQL Server

Introduction: In my previous article I have explained about How to get selected items text  using Javascript. In this article I am going to explain about how to format numbers in indian(1,23,45,67,890) and US(1,234,567,890) style in SQL. Explanation: To format the numbers in indian style I have wrote two sql functions. First function will add

How to get selected items text using javascript

Introduction: In my previous article I have explained about How to replace a string in XSLT. In this article I am going to explain about how to get selected items text using javascript Explanation: I need to get the selected items text of a html select. For this below javascript function is used. <script>    

Replace functionality using XSLT

Introduction: In my previous article I have explained about Read cookies value using C#.net Asp.Net. In this article I am going to explain the replace functionality using xslt. Explanation: I need to replace space with – symbol in my input. So I wrote a below template to do this operation. <xsl:template name=“string-replace-all“>   <xsl:param name=“text“