Regular expression Replace and Match used in managed sql

Every one knows the power of .net clr (Dot Net Common Language Runtime).  Following are are two functions which are being used by me in sql server 2005. RegexMatch function returns the true false (0/1); it takes two parameters input as characters or string and Regular expression to match. RegexRpelace function replaces the carachters passed [...]

Printing contents of a div using javascript

Guys this is a nice piece of code which has been tested in IE7 to print the contents of a div. I got this code from http://www.webdeveloper.com/forum/showthread.php?t=152798 While printing keep in mind that on the printed copy you will lose all css styles. <script type=”text/javascript”><!– function ClickHereToPrint(){ try{ var oIframe = document.getElementById(‘ifrmPrint’); var oContent = [...]

Online Paid surveys scams

There are many sites which offers you to join their paid surveys. Most of them will tell you “Work from home” , “No Experience required”, “Extra cash”,  “Eran $$$$$$$s, ££££££s”. These all seems appealing, Some of them are free,. If those are free joining them to test their offers. If you are thinking to join [...]

Getting ASP.NET Radiobutton list Text using javascript not JQuery

I came accross a problem while I was trying to Get ASP.NET Radiobutton list Text using JQuery. I used the JQuery method $(‘#<%=RadioButtonList1.ClientID%>’).val(); but it was not returning selected value though same works for asp.net Dropdown list then I started searching over the internet but didn’t find any solution. After searching for an hour I [...]