<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6928308581795842608</id><updated>2011-11-27T16:22:37.998-08:00</updated><category term='captcha'/><category term='Just for fun'/><category term='just note'/><category term='MS SQL Server'/><category term='sharepoint integration'/><category term='process automation'/><category term='working with captcha'/><category term='How to'/><category term='Tools'/><category term='AJAX'/><category term='bpm software'/><category term='ASP.Net'/><category term='JavaScript'/><category term='how to prevent bots'/><category term='workflow software'/><category term='k2'/><title type='text'>Develop a software with smile</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-5804550724536343718</id><published>2011-04-24T18:15:00.001-07:00</published><updated>2011-04-24T18:19:04.554-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Server'/><title type='text'>How to extract our stored procedure code/text definition on MS SQL Server</title><content type='html'>I had a very interesting situation last week when visited one of my customer. Situation was they host their application on a server at their US headquarter and it run a SQL Server 2005, while all developer engine at Jakarta using SQL 2008. We got an issue on application which resulted on wrong calculation, after some time analyze I found we need to investigate the stored procedure in used. But, big concern was none of developer have latest version of the stored procedure. Thus, we need to extract it from US Server.&amp;nbsp; It got weird when we able to connect to US Server but unable to iterate SQL Server 2005 entity though we logged in as database owner. Due to limited time, so I asked the developer to run an ad-hoc command to extract stored procedure definition from US Server. Response I got was “how to do so ?”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For some developer who already spoiled by luxury of Microsoft Tools, most of the time, ad-hoc command become a history, thus how SQL Server works and how to manage it on console mode become another legend. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On every SQL Server Database, system will create system table called sysobjects to store all objects within respective database, this table will store information about objectid, object name, object type, etc. Respective to that object, there is syscomments table to maintain comment or text definition of specific object, it was referenced to sysobject through … yes, objectid field.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now how to get code definition of a stored procedure:&lt;br /&gt;&lt;br /&gt;Traditionally we can use below command&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;select&lt;/span&gt; text &lt;br /&gt;&lt;span class="kwrd"&gt;from&lt;/span&gt; syscomments c&lt;br /&gt;&lt;span class="kwrd"&gt;inner&lt;/span&gt; &lt;span class="kwrd"&gt;join&lt;/span&gt; sysobjects o &lt;span class="kwrd"&gt;on&lt;/span&gt; c.id=o.id&lt;br /&gt;&lt;span class="kwrd"&gt;where&lt;/span&gt; o.name &lt;span class="kwrd"&gt;like&lt;/span&gt; &lt;span class="str"&gt;'your_sp_name'&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre{font-size: small;color: black;font-family: consolas, "Courier New", courier, monospace;background-color: #ffffff;/*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt {background-color: #f4f4f4;width: 100%;margin: 0em;}.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;br /&gt;&lt;span style="font-family: Courier New;"&gt; &lt;/span&gt;&lt;br /&gt;But when it gave a big text, result will be truncated so it would be difficult for us to read it. Nah, there is a ad-hoc command already prepared by SQL Server to perform such task, it was called &lt;span style="color: #004080;"&gt;sp_helptext&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So what we need to, is just type below command on console&lt;br /&gt;&lt;pre class="csharpcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="csharpcode"&gt;sp_helptext &lt;span class="str"&gt;'your_sp_name'&lt;/span&gt;&lt;/pre&gt;&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre{font-size: small;color: black;font-family: consolas, "Courier New", courier, monospace;background-color: #ffffff;/*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt {background-color: #f4f4f4;width: 100%;margin: 0em;}.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And voilla, all the magic to extract code/text definition of stored procedure will be taken care with easy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-5804550724536343718?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/5804550724536343718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2011/04/how-to-extract-our-stored-procedure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/5804550724536343718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/5804550724536343718'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2011/04/how-to-extract-our-stored-procedure.html' title='How to extract our stored procedure code/text definition on MS SQL Server'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-3614663702002260583</id><published>2011-04-15T12:02:00.000-07:00</published><updated>2011-04-15T12:07:45.695-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='captcha'/><category scheme='http://www.blogger.com/atom/ns#' term='how to prevent bots'/><category scheme='http://www.blogger.com/atom/ns#' term='working with captcha'/><title type='text'>What is CAPTCHA ?</title><content type='html'>&lt;div style="text-align: justify"&gt;&lt;a href="http://lh4.ggpht.com/_zb35M5aiAFU/TaiXe34Ym6I/AAAAAAAAAI0/VCrSzIUFV9M/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="image" border="0" alt="image" align="left" src="http://lh6.ggpht.com/_zb35M5aiAFU/TaiXgBvlYwI/AAAAAAAAAI4/7-n891IPQ7E/image_thumb%5B1%5D.png?imgmax=800" width="244" height="210" /&gt;&lt;/a&gt; As a Website owner you may find you're getting spam in your registration forms, blog and forum comment areas or in your email inbox. And although sometimes it may feel like you spend a lot of your time dealing with these annoyances, there are tools to help minimize or eliminate spambot issues. Many business are adding CAPTCHA codes to their sites in order to help combat this kind of spam.&lt;/div&gt;  &lt;div style="text-align: justify"&gt;   &lt;br /&gt;A CAPTCHA is a program that protects against bots by generating and grading tests that humans can pass but current computer programs cannot. The term CAPTCHA is an acronym for &amp;quot;Completely Automated Public Turing test to tell Computers and Humans Apart,&amp;quot; trademarked in 2000 by Luis von Ahn, Manuel Blum, Nicholas Hopper and John Langford of Carnegie Mellon University, who developed the first CAPTCHA.    &lt;br /&gt;    &lt;br /&gt;A common type of CAPTCHA requires the user to type the letters of a distorted image, sometimes with the addition of an obscured sequence of letters or digits that appears on the screen. This is a simple problem for humans, but a very hard problem for computers that have to use character recognition.    &lt;br /&gt;    &lt;br /&gt;CAPTCHA can be used to monitor and solve many spam-related problems like preventing comment spam in blogs, protecting Web site registration, protecting email addresses from Web scrapers looking to add to spamming lists, ensuring that only humans can vote in online polls, preventing dictionary attacks in password systems as well as stopping search engine bots from crawling unindexed sites.    &lt;br /&gt;    &lt;br /&gt;On the official CAPTCHA Web site (captcha.net) you can download and install a free CAPTCHA code provided by the reCAPTCHA Project that can help with decreasing spam-related issues and enable you to focus on other aspects of your business. ReCAPTCHA also enables you install an audio component to the test, making it user-friendly for the visually-impaired as well.    &lt;br /&gt;    &lt;br /&gt;Some advantages to this code is that is a Web service, which means that all the images are generated and graded by reCAPTCHA's servers and can automatically update whenever a security vulnerability is found. ReCAPTCHA also has an IP address filtering and detection system that flags down IP addreses that solve too many CAPTCHAs in a certain period of time.    &lt;br /&gt;    &lt;br /&gt;Easy-to-install plugins are available for WordPress, MediaWiki, PHP, Perl, Python and other environments. The CAPTCHA code is free for personal as well as commercial Web sites, but if you wish to install a non-branded code, you can purchase it for $160 per year    &lt;br /&gt;    &lt;br /&gt;Resource:    &lt;br /&gt;&lt;a href="http://www.captcha.net/"&gt;Official CAPTCHA Website&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.google.com/recaptcha/whyrecaptcha"&gt;Google ReCAPTCHA Project&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.thewhir.com/article-central/Working_With_CAPTCHA"&gt;http://www.thewhir.com/article-central/Working_With_CAPTCHA&lt;/a&gt;    &lt;br /&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-3614663702002260583?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/3614663702002260583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2011/04/what-is-captcha.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/3614663702002260583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/3614663702002260583'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2011/04/what-is-captcha.html' title='What is CAPTCHA ?'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_zb35M5aiAFU/TaiXgBvlYwI/AAAAAAAAAI4/7-n891IPQ7E/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-4810269579232405175</id><published>2011-04-14T19:43:00.001-07:00</published><updated>2011-04-14T19:43:14.756-07:00</updated><title type='text'>Best android tablet on market</title><content type='html'>&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_zb35M5aiAFU/Taewui95tFI/AAAAAAAAAIs/90OkQA3qr50/s1600-h/image%5B7%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="image" border="0" alt="image" align="left" src="http://lh4.ggpht.com/_zb35M5aiAFU/Taewv_itpvI/AAAAAAAAAIw/w-VEqvIpi_A/image_thumb%5B5%5D.png?imgmax=800" width="200" height="200" /&gt;&lt;/a&gt; If you looking for a table but non an Apple-Fans or perhaps with a very tight budget on hand, then Android is the way to go. For a year back, many manufacturer decided to be contender on Android war, either on phone device or on table device. This competition is good for us as customer where we have much option to evaluate on, but also little bit maze for person who don’t want to spend some of their time to review, wrong information may lead them to wrong purchase of Android tablet. Well, lucky for them if they read this post because here we would like to show them best android tablet available on market.&lt;/p&gt;  &lt;p&gt;So which tablets are the most tempting ? let’s find out&lt;/p&gt; &lt;a name='more'&gt;&lt;/a&gt;  &lt;p&gt;This review is taken from &lt;a href="http://www.techradar.com/news/mobile-computing/portable-computing/15-best-android-tablets-in-the-world-905504" target="_blank"&gt;TechRadar website&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="motorola-xoom" src="http://cdn.mos.techradar.com//classifications/Tablets/Motorola/XOOM_dyn_L_horiz_YouTube_CES-1-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Motorola Xoom - £499 (£599 for 3G version)&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; Now in US, soon in UK&lt;/p&gt;  &lt;p&gt;One of the most interesting Android tablets won't be cheap: online prices are currently hovering around the £720 mark. For your cash you'll get a dual-core Tegra 2 and a 10.1&amp;quot;, 1280x800 display; you can also play full HD via HDMI. The Xoom has 1GB of RAM, 32GB of storage (plus an SD card slot), twin cameras, Wi-Fi and optional 3G. Motorola claims 10 hours of video-watching power.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/tablets/motorola-xoom-933048/review"&gt;Motorola Xoom review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;h6&gt;&lt;img alt="samsung galaxy tab" src="http://mos.futurenet.com/techradar/Review%20images/TechRadar/Gadgets/Samsung%20Galaxy%20Tab/Samsung-Galaxy-Tab-420-90.jpg" width="420" /&gt;&lt;/h6&gt;  &lt;h6&gt;Samsung Galaxy Tab - £359 (Wi-Fi) / £499 (3G)&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; Now&lt;/p&gt;  &lt;p&gt;Samsung's tablet becomes much more attractive thanks to heavy discounting: the first price above is from Tesco Direct, although the 3G model is still a good bit more expensive. It's a decent bit of kit let down by sluggish web browsing, and we're not convinced 7-inch tablets work as phones.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/laptops-and-netbooks/samsung-galaxy-tab-903545/review"&gt;Samsung Galaxy Tab review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="viewpad 7" src="http://mos.futurenet.com/techradar/Review%20images/TechRadar/Gadgets/viewpad/VPad7-1_front30-02-420-90.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Viewsonic Viewpad 7 - £300 to 400&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; Now&lt;/p&gt;  &lt;p&gt;The Viewsonic Viewpad 7 is exactly the same, albeit slightly more expensive than the &lt;a href="http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/laptops-and-netbooks/linx-commtiva-n700-914257/review"&gt;Linx Commtiva N700&lt;/a&gt; - and confusingly, Viewsonic is marketing it as a smartphone. It's a terrible smartphone but it's a fairly competent 7-inch Android tablet: its 600MHz processor isn't really fast enough for Flash though, not to mention recent Android releases.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/laptops-and-netbooks/viewsonic-viewpad-7-916172/review"&gt;Viewsonic ViewPad 7 review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="advent vega" src="http://cdn.mos.techradar.com//classifications/computing/mobile-computing/Tablets%20and%20touchscreens/AdventVega1-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Advent Vega - £249.99&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale: &lt;/strong&gt;Now&lt;/p&gt;  &lt;p&gt;The Vega offers a lot of power for very little cash: a ten-inch, 1024x600 touchscreen, a dual-core 1GHz Tegra 2 processor and a 6.5 hours of video playback isn't bad for just under £250. Storage is tight, though - you get a half-gig of flash storage, supplemented by a 4GB microSD card) - and the OS is Android 2.2. Flash Player has been pulled due to certification issues, but an update should fix that later in the year.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/laptops-and-netbooks/advent-vega-912380/review"&gt;Advent Vega review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;h6&gt;&lt;img alt="dell streak" src="http://cdn.mos.techradar.com/classifications/events/ces2010/dellstreak3-420-100.jpg" width="420" /&gt;&lt;/h6&gt;  &lt;h6&gt;Dell Streak 5 / 7 / 10 - £399 / £TBC / £TBC&lt;/h6&gt;  &lt;p&gt;The eminently capable and exceptionally small Dell Streak 5 has been around for a while, but it's about to be joined by the more powerful Dell Streak 7 (7-inch) and Dell Streak 10 (10-inch) versions. Where the Dell Streak 5 runs a Snapdragon processor, its bigger siblings will be packing dual-core Tegra processors. All models boast Gorilla Glass, Bluetooth, Wi-Fi and Flash 10.1 support.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/reviews/phones/mobile-phones/dell-streak-694319/review"&gt;Dell Streak review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="asus eee pad memo" src="http://mos.futurenet.com/techradar/Review%20images/TechRadar/Gadgets/asus%20eee%20pad/asus%20eee%20pad%20memo-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Asus Eee Pad Transformer / Slider / Memo - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;Asus has not one, not two, but three interesting Android tablets. The Eee Pad Transformer has a full-sized keyboard dock, the Eee Pad Slider has a slide-out keyboard, and the Eee Pad Memo has no keyboard at all. Bigger Eee Pads have Tegra 2s inside, while the Memo has a 1.2GHz Snapdragon.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/news/mobile-computing/hands-on-asus-eee-pad-transformer-review-932987"&gt;Hands on - Asus Eee Pad Transformer review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="lg-optimus-pad-what-you-need-to-know" src="http://mos.futurenet.com/techradar/classifications/events/MWC2011/LG%20Optimus%20Pad/lg-optimus-pad16-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;LG Optimus Pad - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;Could the LG Optimus Pad have a 3D display? That's what the rumours say, although they also predict a £250 price tag. One or the other is possible, but not both. 3D or no 3D there's a dual-core Tegra 2 and an 8.9&amp;quot; display.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/news/mobile-computing/hands-on-lg-optimus-pad-review-928437"&gt;Hands on - LG Optimus Pad review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="http://mos.futurenet.com/techradar/classifications/computing/mobile-computing/Tablets%20and%20touchscreens/CreativeZiiO/PLS-ZiiO_10_gaming-420-90.jpg" src="http://mos.futurenet.com/techradar/classifications/computing/mobile-computing/Tablets%20and%20touchscreens/CreativeZiiO/PLS-ZiiO_10_gaming-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Creative Ziio - £249.99&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; Now (10-inch TBC)&lt;/p&gt;  &lt;p&gt;Take one fairly standard Android tablet and add a dash of Creative's famous audio flair. The result? Something with &amp;quot;pure Android audio&amp;quot;, which offers high quality wireless audio via Bluetooth and pretty nifty sound when you use headphones. It's an older tablet, however, which means Android 2.1.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/tablets/creative-ziio-926979/review"&gt;Creative Ziio review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;h6&gt;&lt;img alt="viewpad 10s" src="http://mos.futurenet.com/techradar/Review%20images/TechRadar/Gadgets/viewpad/10S-1_lift+hand-420-90.jpg" width="420" /&gt;&lt;/h6&gt;  &lt;h6&gt;Viewsonic Viewpad 10s - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;We called the original Viewpad 10 a stinker, so what about its successor? It runs Android 2.2 with its own Tap overlay, there's a 1GHz processor inside, and there's a very useful option to give each family member their own account. We wish the iPad had that. The 10s is a vast improvement over its predecessor, although we'll reserve final judgement until we know the price.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://ces2011.techradar.com/2011/01/hands-on-viewsonic-viewpad-10s-review/"&gt;Viewsonic Viewpad 10s review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img title="hands-on-htc-flyer-review-featured-image" alt="hands-on-htc-flyer-review-featured-image" src="http://cdn.mos.techradar.com//classifications/Mobile%20Phones/Hands%20on%20pictures/HTC/htc%20flyer/HTC_Flyer_review_09-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;HTC Flyer&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;HTC has decided to release the tablet running on Android Gingerbread, which will upset some purists that only believe these tablets should run on Honeycomb. However, the HTC Sense overlay deals with that, offering a new range of widgets and content to mask the fact it's running older versions of the OS (although a Honeycomb update is imminent). The new tablet has a 7-inch LCD screen, and comes with an aluminium unibody shell that feels very nice in the hand.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://mwc2011.techradar.com/2011/02/hands-on-htc-flyer-review/"&gt;Hands on: HTC Flyer review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="notion ink adam tablet" src="http://mos.futurenet.com/techradar/Review%20images/TechRadar/Gadgets/notion%20ink%20adam/notion%20ink%20adam-420-90.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Notion Ink Adam - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;A UK release date still hasn't been confirmed, but some overseas customers are getting their pre-ordered Adams this week. The Adam promises a &amp;quot;revolutionary&amp;quot; 10.1-inch display offering 1,024x600 with a sunlight-friendly e-paper mode, and the innards are pretty decent too: the processor is a dual-core 1GHz Tegra, there's 1GB of RAM and you can choose from 16GB or 32GB of storage, expandable via MicroSD. Claimed battery life is 6 to 16 hours.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/news/mobile-computing/notion-ink-adam-what-you-need-to-know-923657"&gt;Notion Ink Adam - everything you need to know&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="Lenovo lepad" src="http://mos.futurenet.com/techradar/classifications/ces2011/Lenovo-lepad1-420-90.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Lenovo Ideapad U1/LePad - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;Lenovo makes nice laptops, so it's not a surprise that its LePad sounds... nice. There's a 10.1&amp;quot;, 1280x800 capacitive touchscreen, a 1.3GHz Snapdragon, Wi-Fi, 3G and the ubiquitous Flash player. There's also a QWERTY-toting dock that turns it into a laptop. Which is nice.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/news/computing/lenovo-lepad-10-inch-android-tablet-graces-ces----again-919246"&gt;Lenovo LePad graces CES - again&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img title="hands-on-panasonic-viera-tablet-review-featured-image" alt="hands-on-panasonic-viera-tablet-review-featured-image" src="http://cdn.mos.techradar.com//Review%20images/TechRadar/Gadgets/CES%202011%20reviews/Panasonic%20Viera%20Tablet/CES%202011%20-%20Image%20-%20VIERA%20Tablet-420-100.jpg" /&gt;&lt;/p&gt;  &lt;h6&gt;Panasonic Viera Tablet - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;Are you planning on buying one of Panasonic's 2011 TVs? If not then Panasonic's 4, 7 and 10-inch tablets aren't worth getting excited about. If you are though, things get more interesting: the tablets can control the TV or stream video from it, and you'll be able to watch replays on the tablet while the action continues on the big screen.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://ces2011.techradar.com/2011/01/hands-on-panasonic-viera-tablet-review/"&gt;Hands on - Panasonic Viera tablet review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="http://cdn.mos.techradar.com//classifications/computing/mobile-computing/Tablets%20and%20touchscreens/toshiba-tablet.jpg" src="http://cdn.mos.techradar.com//classifications/computing/mobile-computing/Tablets%20and%20touchscreens/toshiba-tablet-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Toshiba Mystery Tablet - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; TBC&lt;/p&gt;  &lt;p&gt;Toshiba's teasing us with a video for its new, unnamed tablet: we can see twin cameras, HDMI, mini USB and normal USB, an SD card slot and a swappable battery. So it'll probably weigh a ton. Here's hoping it doesn't suffer from the problems that plagued its predecessor, the Folio 100.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Read:&lt;/strong&gt; &lt;a href="http://www.techradar.com/news/mobile-computing/hands-on-toshiba-tablet-review-929016"&gt;Hands on - Toshiba Tablet review&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="android tablets" src="http://mos.futurenet.com/techradar/whitespace-20-100.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="http://mos.futurenet.com/techradar/classifications/computing/mobile-computing/notebooks-and-tablet-pcs/Acer/acer_tablets/Acer_Window7%20Tablet_01.jpg" src="http://mos.futurenet.com/techradar/classifications/computing/mobile-computing/notebooks-and-tablet-pcs/Acer/acer_tablets/Acer_Window7%20Tablet_01-420-100.jpg" width="420" /&gt;&lt;/p&gt;  &lt;h6&gt;Acer Iconia 7 and 10 - £tbc&lt;/h6&gt;  &lt;p&gt;&lt;strong&gt;On sale:&lt;/strong&gt; April 2011&lt;/p&gt;  &lt;p&gt;Acer has a multitude of tablets coming out. The first is the Iconia Tab W500 which runs Windows 7 and has an optional docking keyboard to make it more of a tablet/netbook hybrid. Other Windows tablets are expected as well, along with Android 3.0 equivalents!&lt;/p&gt;  &lt;p&gt;Read more: &lt;a href="http://www.techradar.com/news/mobile-computing/portable-computing/15-best-android-tablets-in-the-world-905504#ixzz1JYVyJy8z"&gt;http://www.techradar.com/news/mobile-computing/portable-computing/15-best-android-tablets-in-the-world-905504#ixzz1JYVyJy8z&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-4810269579232405175?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/4810269579232405175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2011/04/best-android-tablet-on-market.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/4810269579232405175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/4810269579232405175'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2011/04/best-android-tablet-on-market.html' title='Best android tablet on market'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_zb35M5aiAFU/Taewv_itpvI/AAAAAAAAAIw/w-VEqvIpi_A/s72-c/image_thumb%5B5%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-6603485657669983996</id><published>2011-01-24T18:13:00.001-08:00</published><updated>2011-01-25T01:41:52.821-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>There is no foreach in JavaScript, use for … in instead</title><content type='html'>&lt;p&gt;Programmer should be familiar with command &lt;strong&gt;foreach&lt;/strong&gt;, which function is to iterate item within array or collection. This command normally available on most language, vb, php, c, java. Unfortunately, there is no foreach on JavaScript, and I just notice that until few minutes writing this post. After some research and reading over the javascript manual, I found that &lt;strong&gt;for … in &lt;/strong&gt;is replacement for &lt;strong&gt;foreach    &lt;br /&gt;  &lt;br /&gt;for … in&lt;/strong&gt;   &lt;br /&gt;This command basically will iterate any object within an array, but instead refer to it’s collection object this command would pass only the key for collection object.   &lt;br /&gt;  &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Syntax:    &lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;pre&gt;for (&lt;em&gt;variable&lt;/em&gt; in &lt;em&gt;object&lt;/em&gt;)&lt;br /&gt;&lt;em&gt;statement&lt;/em&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Example &lt;/span&gt;&lt;br /&gt;&lt;p&gt;Please pay more attention on bolded italic text&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;child_cities=states[selected_state];&lt;br /&gt;for(var cityid in child_cities)&lt;br /&gt;{&lt;br /&gt;ddl_city.options.length++;&lt;br /&gt;ddl_city.options[ddl_city.options.length-1].text=&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;child_cities[cityid].description;&lt;/span&gt;&lt;br /&gt;ddl_city.options[ddl_city.options.length-1].value=&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;child_cities[cityid].cityid;&lt;/span&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-6603485657669983996?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/6603485657669983996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2011/01/there-is-no-foreach-in-javascript-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/6603485657669983996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/6603485657669983996'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2011/01/there-is-no-foreach-in-javascript-use.html' title='There is no foreach in JavaScript, use for … in instead'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-4749966785542673647</id><published>2011-01-17T07:27:00.001-08:00</published><updated>2011-01-17T07:28:11.950-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>How to opt-in our autoresponder subscriber and run other code simultaneously</title><content type='html'>&lt;p&gt;   &lt;p&gt;     &lt;p&gt;       &lt;p&gt;         &lt;p&gt;           &lt;p&gt;&amp;#160;&lt;/p&gt;            &lt;p&gt;&amp;#160;&lt;/p&gt;            &lt;p&gt;&amp;#160;&lt;/p&gt;            &lt;p&gt;&amp;#160;&lt;/p&gt;            &lt;p&gt;&amp;#160;&lt;/p&gt;            &lt;p&gt;&amp;#160;&lt;/p&gt;            &lt;p&gt; To support one of my &lt;a href="http://www.apaitusehat.com" target="_blank"&gt;internet business&lt;/a&gt; I decided to use autoresponder service, unfortunately I was not dare enough to invest lots money for Aweber or GetResponse, 2 names listed as top leader on autoresponder business. So I decide to use cheap one, and money does matter. This cheap one didn’t give capability to do opt-in other than using their form, which is bad, because I also need to capture user information on my own database.               &lt;br /&gt;              &lt;br /&gt;So, what I did:&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;&lt;/p&gt;            &lt;p&gt;             &lt;br /&gt;              &lt;br /&gt;1. Record my user information into database&lt;/p&gt;         &lt;/p&gt;          &lt;p&gt;           &lt;p&gt;             &lt;br /&gt;2. Pass this information into HTML forms that&amp;#160; mimic opt-in form              &lt;br /&gt;3. Auto submit the form              &lt;br /&gt;              &lt;br /&gt;It work fine for me.&lt;/p&gt;         &lt;/p&gt;       &lt;/p&gt;        &lt;p&gt;         &lt;p&gt;           &lt;p&gt;             &lt;br /&gt;              &lt;br /&gt;The code itself is very simple as below, I use PHP and I assume we all already know how to insert into database, redirect and pass information to another form.&lt;/p&gt;         &lt;/p&gt;       &lt;/p&gt;     &lt;/p&gt;   &lt;/p&gt;    &lt;p&gt;     &lt;p&gt;       &lt;p&gt;         &lt;p&gt;           &lt;p&gt;&amp;#160;&lt;/p&gt;         &lt;/p&gt;       &lt;/p&gt;     &lt;/p&gt;   &lt;/p&gt; &lt;/p&gt;  &lt;p&gt;   &lt;p&gt;     &lt;p&gt;       &lt;p&gt;         &lt;p&gt;           &lt;p&gt;             &lt;br /&gt;              &lt;br /&gt;&lt;/p&gt;         &lt;/p&gt;       &lt;/p&gt;     &lt;/p&gt;      &lt;p&gt;       &lt;p&gt;         &lt;p&gt;           &lt;p&gt; I use “display:none” to hide opt-in form, so forwarding process become seamless             &lt;br /&gt;              &lt;br /&gt;&lt;/p&gt;         &lt;/p&gt;       &lt;/p&gt;     &lt;/p&gt;   &lt;/p&gt;    &lt;div class="csharpcode"&gt;     &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&amp;lt;div style=&lt;span class="str"&gt;&amp;quot;display:none&amp;quot;&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&amp;lt;form &lt;span class="kwrd"&gt;class&lt;/span&gt;=&lt;span class="str"&gt;'subscription_form'&lt;/span&gt; id=&lt;span class="str"&gt;'subscription_form'&lt;/span&gt; name=&lt;span class="str"&gt;&amp;quot;subscription_form&amp;quot;&lt;/span&gt; method=&lt;span class="str"&gt;'POST'&lt;/span&gt; action=&lt;span class="str"&gt;'####FORM_POST_URL####'&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;&amp;lt;div align=&lt;span class="str"&gt;'center'&lt;/span&gt;&amp;gt;&amp;lt;center&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;&amp;lt;p&amp;gt;Full name&amp;lt;br&amp;gt;&amp;lt;input type=&lt;span class="str"&gt;'text'&lt;/span&gt; name=&lt;span class="str"&gt;'full_name'&lt;/span&gt; size=&lt;span class="str"&gt;'20'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'&amp;lt;?php echo $name; ?&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;&amp;lt;/center&amp;gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;&amp;lt;div align=&lt;span class="str"&gt;'center'&lt;/span&gt;&amp;gt;&amp;lt;center&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;&amp;lt;p&amp;gt;E-mail address&amp;lt;br&amp;gt;&amp;lt;input type=&lt;span class="str"&gt;'text'&lt;/span&gt; name=&lt;span class="str"&gt;'email'&lt;/span&gt; size=&lt;span class="str"&gt;'20'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'&amp;lt;?php echo $email; ?&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&amp;lt;/center&amp;gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;&amp;lt;div align=&lt;span class="str"&gt;'center'&lt;/span&gt;&amp;gt;&amp;lt;center&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;&amp;lt;p&amp;gt;Phone #1&amp;lt;br&amp;gt;&amp;lt;input type=&lt;span class="str"&gt;'text'&lt;/span&gt; name=&lt;span class="str"&gt;'phone1'&lt;/span&gt; size=&lt;span class="str"&gt;'20'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'&amp;lt;?php echo $phone; ?&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;&amp;lt;/center&amp;gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;&amp;lt;input type=&lt;span class="str"&gt;'hidden'&lt;/span&gt; name=&lt;span class="str"&gt;'capitals'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'1'&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;&amp;lt;input type=&lt;span class="str"&gt;'hidden'&lt;/span&gt; name=&lt;span class="str"&gt;'subscription_type'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'E'&lt;/span&gt;&amp;gt;&amp;lt;div align=&lt;span class="str"&gt;'center'&lt;/span&gt;&amp;gt;&amp;lt;center&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;&amp;lt;p&amp;gt;&amp;lt;input type=&lt;span class="str"&gt;'submit'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'Go »'&lt;/span&gt;&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;&amp;lt;/center&amp;gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;&amp;lt;input type=&lt;span class="str"&gt;'hidden'&lt;/span&gt; name=&lt;span class="str"&gt;'id'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'5250'&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;&amp;lt;input type=&lt;span class="str"&gt;'hidden'&lt;/span&gt; name=&lt;span class="str"&gt;'full_name_man'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'1'&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;&amp;lt;input type=&lt;span class="str"&gt;'hidden'&lt;/span&gt; name=&lt;span class="str"&gt;'phone1_man'&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;'1'&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;&amp;lt;/form&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;&amp;lt;div&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  23:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  24:  &lt;/span&gt;&amp;lt;script language=&lt;span class="str"&gt;&amp;quot;javascript&amp;quot;&lt;/span&gt; type=&lt;span class="str"&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  25:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  26:  &lt;/span&gt;function init_form()&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  27:  &lt;/span&gt;{&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  28:  &lt;/span&gt;    document.forms[&lt;span class="str"&gt;&amp;quot;subscription_form&amp;quot;&lt;/span&gt;].submit();&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  29:  &lt;/span&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  30:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  31:  &lt;/span&gt;window.onload=init_form;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre&gt;&lt;span class="lnum"&gt;  32:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  33:  &lt;/span&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;  &lt;/div&gt;&lt;br /&gt;  &lt;style type="text/css"&gt;&lt;br /&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt;	font-size: small;&lt;br /&gt;	color: black;&lt;br /&gt;	font-family: consolas, "Courier New", courier, monospace;&lt;br /&gt;	background-color: #ffffff;&lt;br /&gt;	/*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt;	background-color: #f4f4f4;&lt;br /&gt;	width: 100%;&lt;br /&gt;	margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-4749966785542673647?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/4749966785542673647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2011/01/how-to-opt-in-our-autoresponder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/4749966785542673647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/4749966785542673647'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2011/01/how-to-opt-in-our-autoresponder.html' title='How to opt-in our autoresponder subscriber and run other code simultaneously'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-4920083673094830603</id><published>2011-01-05T23:26:00.001-08:00</published><updated>2011-01-05T23:27:59.540-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bpm software'/><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='k2'/><category scheme='http://www.blogger.com/atom/ns#' term='workflow software'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint integration'/><category scheme='http://www.blogger.com/atom/ns#' term='process automation'/><title type='text'>K2, a workflow and business process management on Microsoft Platform</title><content type='html'>&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_zb35M5aiAFU/TSVulrpYw9I/AAAAAAAAAH0/Mun1MKUPneI/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border: 0px none; display: inline; margin-left: 0px; margin-right: 0px;" title="image" alt="image" src="http://lh5.ggpht.com/_zb35M5aiAFU/TSVunsDVqfI/AAAAAAAAAH4/I4GKzZo5fUY/image_thumb%5B1%5D.png?imgmax=800" align="left" border="0" width="244" height="202" /&gt;&lt;/a&gt; Few weeks back, I was lucky to experienced training for K2, a business process management software released by SourceCode Inc. There were 3 classes I attended, K2 Fundamental, K2 Integration and K2 API Programming.   &lt;br /&gt;  &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;K2 offers product to help increase business efficiency and simplify work. It basically synergize both technical and non-technical by converting business process to software programming through a visual block diagram. K2 Visual Tools allow people to automate process and streamline operations  &lt;br /&gt;  &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Good things I like about this BPM is its capability to deal with many data resource and populate them all into one single virtual storage called as SmartObject. It also provide seamless integration with Sharepoint, which is good, especially for a corporate who already invest much on Microsoft Platform.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-4920083673094830603?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/4920083673094830603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2011/01/k2-workflow-and-business-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/4920083673094830603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/4920083673094830603'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2011/01/k2-workflow-and-business-process.html' title='K2, a workflow and business process management on Microsoft Platform'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_zb35M5aiAFU/TSVunsDVqfI/AAAAAAAAAH4/I4GKzZo5fUY/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-905337740462804854</id><published>2009-06-09T21:21:00.000-07:00</published><updated>2009-06-09T21:40:33.846-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Just for fun'/><title type='text'>Copy code as HTML on Visual Studio, easy way to copy code on blogspot</title><content type='html'>I just notice that blogspot has limited capability on doing blog for programming code. Copy and paste from word also won't work properly as blogspot will not tolerate some whitespace character generated by Word. Luckily, on the net I found something that can address this issue.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/11/21/copy-source-as-html-copysourceashtml-for-visual-studio-2008-rtm.aspx"&gt;Guy Burstein&lt;/a&gt;, provide a link to Microsoft Visual Studio AddIns that will allow us to copy any code that we highlight within Visual Studio and paste it automatically as HTML code. This will be helpfull lot on writing a code blog on blogspot, eventough we have to use manual HTML code still and it's exclusively to Visual Studio :)&lt;br /&gt;&lt;br /&gt;So, here are steps to doing this:&lt;br /&gt;&lt;br /&gt;1. Obtain AddIns &lt;a href="http://blogs.microsoft.co.il/files/folders/36296/download.aspx"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Extract it to your Visual Studio AddIns folder, it's should be under MyDocuments\Visual Studio 2008\Addins, if you couldn't find AddIns folder, then create new one&lt;br /&gt;&lt;br /&gt;3. Open Visual Studio, click on Tools -&gt; AddIn Manager&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_zb35M5aiAFU/Si83zWyYXLI/AAAAAAAAAC0/gm9uxwrzVfg/s1600-h/AddIn+Manager+for+VS2008.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 210px; height: 320px;" src="http://3.bp.blogspot.com/_zb35M5aiAFU/Si83zWyYXLI/AAAAAAAAAC0/gm9uxwrzVfg/s320/AddIn+Manager+for+VS2008.JPG" alt="" id="BLOGGER_PHOTO_ID_5345552638141815986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. AddIn manager dialog will be opened, select to activate "Copy as HTML" AddIn&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zb35M5aiAFU/Si8353vnO2I/AAAAAAAAAC8/KHkgbqrVKpE/s1600-h/AddIn+Manager+for+VS2008-2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 210px;" src="http://4.bp.blogspot.com/_zb35M5aiAFU/Si8353vnO2I/AAAAAAAAAC8/KHkgbqrVKpE/s320/AddIn+Manager+for+VS2008-2.JPG" alt="" id="BLOGGER_PHOTO_ID_5345552750067792738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;5. Now, you can select any code and when do right click, "Copy as HTML" will be shown&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zb35M5aiAFU/Si84ArzIwvI/AAAAAAAAADE/KakoYcYL_hc/s1600-h/Copy+code+as+HTML+on+Visual+Studio.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 244px;" src="http://4.bp.blogspot.com/_zb35M5aiAFU/Si84ArzIwvI/AAAAAAAAADE/KakoYcYL_hc/s320/Copy+code+as+HTML+on+Visual+Studio.JPG" alt="" id="BLOGGER_PHOTO_ID_5345552867120431858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Below is the result :)&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: Courier New; font-size: 8pt; color: black; background: white;"&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;195&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;Public&lt;/span&gt; &lt;span style="color: blue;"&gt;ReadOnly&lt;/span&gt; &lt;span style="color: blue;"&gt;Property&lt;/span&gt; Email() &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;196&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Get&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;197&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Dim&lt;/span&gt; daUser &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;New&lt;/span&gt; UserTableAdapter&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;198&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Dim&lt;/span&gt; ret &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = &lt;span style="color: #a31515;"&gt;""&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;199&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Dim&lt;/span&gt; users() &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = {}&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;200&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Dim&lt;/span&gt; i &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;Integer&lt;/span&gt; = 0&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;201&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;202&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;For&lt;/span&gt; &lt;span style="color: blue;"&gt;Each&lt;/span&gt; row &lt;span style="color: blue;"&gt;As&lt;/span&gt; SecurityApprovalRow &lt;span style="color: blue;"&gt;In&lt;/span&gt; &lt;span style="color: blue;"&gt;Me&lt;/span&gt;.Rows&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;203&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;If&lt;/span&gt; Array.IndexOf(users, row.UserId) &amp;lt; 0 &lt;span style="color: blue;"&gt;Then&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;204&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Array.Resize(users, i + 1)&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;205&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; users(i) = row.User.Email&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;206&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; i += 1&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;207&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;If&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;208&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Next&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;209&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Return&lt;/span&gt; IIf(users.Length = 0, &lt;span style="color: #a31515;"&gt;""&lt;/span&gt;, &lt;span style="color: blue;"&gt;String&lt;/span&gt;.Join(&lt;span style="color: #a31515;"&gt;";"&lt;/span&gt;, users))&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;210&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Get&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;211&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Property&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Nice isn't ? Try it, code with smile :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-905337740462804854?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/905337740462804854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2009/06/copy-code-as-html-on-visual-studio-easy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/905337740462804854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/905337740462804854'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2009/06/copy-code-as-html-on-visual-studio-easy.html' title='Copy code as HTML on Visual Studio, easy way to copy code on blogspot'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_zb35M5aiAFU/Si83zWyYXLI/AAAAAAAAAC0/gm9uxwrzVfg/s72-c/AddIn+Manager+for+VS2008.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-265346876570671627</id><published>2009-05-30T05:11:00.001-07:00</published><updated>2009-05-30T05:11:46.179-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Just for fun'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Flip your windows screen permanently</title><content type='html'>&lt;p&gt;   &lt;p&gt;     &lt;p&gt;       &lt;p&gt; This one maybe not related with programming, but it may a funny trick that we could use to punk someone with. Okay, from Windows operating system (I use Windows XP SP2)&amp;#160; on working mode, means it's not locked state, pres Ctrl+Alt+[Any arrow], and your screen direction will follow arrow you are pressed, for instance to flip your screen 180 degree, press Ctrl+Alt+[down arrow] :)&lt;/p&gt;     &lt;/p&gt;   &lt;/p&gt;    &lt;p&gt;     &lt;p&gt;       &lt;p&gt;&amp;#160;&lt;/p&gt;     &lt;/p&gt;   &lt;/p&gt; &lt;/p&gt;  &lt;p&gt;   &lt;p&gt;     &lt;p&gt;       &lt;p&gt;         &lt;br /&gt;          &lt;br /&gt;So, say, you have someone that you crush on him/her, you can silently flip his/her screen, and then when he/she notice that something wrong with his/her monitor and get stuck on how to make it like it used to be, you may appear as hero who save the day ... code with smile.&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-265346876570671627?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/265346876570671627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/flip-your-windows-screen-permanently.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/265346876570671627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/265346876570671627'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/flip-your-windows-screen-permanently.html' title='Flip your windows screen permanently'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-6228107865897835656</id><published>2009-05-28T20:01:00.000-07:00</published><updated>2009-05-28T20:28:42.775-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>How to do check and uncheck all record on ASP.Net GridView using JavaScript and ASP.Net</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_zb35M5aiAFU/Sh9VGjdSlOI/AAAAAAAAAA4/ePywuGjzPsc/s1600-h/checkuncheck.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 128px; height: 311px;" src="http://2.bp.blogspot.com/_zb35M5aiAFU/Sh9VGjdSlOI/AAAAAAAAAA4/ePywuGjzPsc/s400/checkuncheck.jpg" alt="" id="BLOGGER_PHOTO_ID_5341081254170367202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When we accessing common webmail site like Gmail, Yahoo!mail or Hotmail, we will see a feature that allow us to select all message listed with a single click, either on a link says "Check All" or a checkbox that will trigger same action somewhere on its header, for the same if want to uncheck them. To do such feature above on ASP.Net Application, I would say impossible with just using standard control, ASP.Net GridView for instance, you would need to get enhanced control or else programmatically coding it in your application :)&lt;br /&gt;&lt;br /&gt;On every application that was built by our team, we try to as much as possible not to do it on server side, as it will increase data round trip which as we all know will reduce application performance. So, combination of ASP.Net, Ajax and JavaScript come as a solution.&lt;br /&gt;&lt;br /&gt;First we need to have to add TemplateField on GridView to show CheckBox, in our approach we also use a CheckBox on this column header to trigger Check/UnCheck operation by bind a JavaScript function on this CheckBox's OnChange event.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zb35M5aiAFU/Sh9VL-KHjLI/AAAAAAAAABA/Q5_uDK9rZdk/s1600-h/checkuncheck1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 96px;" src="http://4.bp.blogspot.com/_zb35M5aiAFU/Sh9VL-KHjLI/AAAAAAAAABA/Q5_uDK9rZdk/s400/checkuncheck1.png" alt="" id="BLOGGER_PHOTO_ID_5341081347237055666" border="0" /&gt;&lt;/a&gt;Next, we will need to write down JavaScript function that will be used to perform Check/UnCheck operation, our code is as follow:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;var checkMes = new Array();&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;      &lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;br /&gt;function addCheckMe(checkMe_CtlId)&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;{&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;  &lt;br /&gt;checkMes.length++;&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;  &lt;br /&gt;checkMes[checkMes.length-1]=checkMe_CtlId;&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;function doCheckUncheckAll()&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;var tmpCheckMe;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;var checkAll=$get("CheckAll");&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;for(i=0;i&lt;checkmes.length;i++)&gt;&lt;/checkmes.length;i++)&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;    {&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;        tmpCheckMe=$get(checkMes[i]);&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;        tmpCheckMe.checked=checkAll.checked; &lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;    }&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You may see, we have one array to store list of checkbox, a function to fill that array and another function to trigger Check/Uncheck operation.&lt;br /&gt;&lt;br /&gt;Okay with done with defining checkbox and JavaScript thing, next we need to call addCheckMe function within our ASP.Net code as GridView will define checkbox dynamically, so ... we add a function to handle GridView's RowDataBound event&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;protected void grd_RowDataBound(object sender, GridViewRowEventArgs e)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;string addCheckMeScript = "";&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;  &lt;br /&gt;CheckBox CheckMe = (CheckBox)e.Row.FindControl("CheckMe");&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;if (CheckMe != null)&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;  &lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;String.Format("OnGrdCheckMeRegister_{0}", e.Row.RowIndex), &lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;                String.Format("addCheckMe('{0}');", CheckMe.UniqueID.Replace("$","_")), true);&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;    }&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And voilla we get as we have expected ... code with smile :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-6228107865897835656?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/6228107865897835656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/how-to-do-check-and-uncheck-all-record.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/6228107865897835656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/6228107865897835656'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/how-to-do-check-and-uncheck-all-record.html' title='How to do check and uncheck all record on ASP.Net GridView using JavaScript and ASP.Net'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_zb35M5aiAFU/Sh9VGjdSlOI/AAAAAAAAAA4/ePywuGjzPsc/s72-c/checkuncheck.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-6792876290445722150</id><published>2009-05-26T23:37:00.000-07:00</published><updated>2009-05-26T23:38:26.777-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>How to make an ASP.Net application offline within second</title><content type='html'>Sometime it neccesary to make an application offline, it may possible due to code upgrade process or essential data upload. Before ASP.Net framework 2.0 era, normally we will place a code on global.asa or global.asax to set a application variable to indicate offline status to true, then programatically read this status and redirect to specific page to inform if an application is offline.&lt;br /&gt;&lt;br /&gt;There is an approach to make it simple for a developer to make its application offline on ASP.Net 2.0, by using app_offline.htm. Simply just design a page using standard HTML editor and named it as app_offline.htm then place this file on root of application that you would offline it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-6792876290445722150?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/6792876290445722150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/how-to-make-aspnet-application-offline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/6792876290445722150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/6792876290445722150'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/how-to-make-aspnet-application-offline.html' title='How to make an ASP.Net application offline within second'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-2594341019064030141</id><published>2009-05-26T19:03:00.000-07:00</published><updated>2009-05-26T19:14:11.497-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Validate text to match specific date pattern on JavaScript</title><content type='html'>My team got requirement to standarize date appearance to dd-MMM-yyyy, thanks to ASP.Net Ajax who has CalendarExtender tools so we may manipulate the way date format returned.&lt;br /&gt;&lt;br /&gt;Unfortunately, we also allow user to free type value of date on any datetime control we have provided, which causing us a problem on how to restrict it to expected format. CustomValidator come in handy as its has capability to validate thru JavaScript, so next problem is how to build a javascript code to validate its format to be dd-MMM-yyyy, as we need a handy script and fight with deadline, so below code is written:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;function isDate(sDate) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;    var datePat = /^(\d{1,2})(\/|-)(\w{3})(\/|-)(\d{4})$/;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;    var matchArray = sDate.match(datePat); // is the format ok?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;    if(matchArray==null) return false;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;    return true;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;}&lt;/span&gt;&lt;/span&gt;    &lt;br /&gt;&lt;br /&gt;Above code only validated date written format as per expected pattern, it won't check validity of data value entered, for instance if you type: 45-Apr-2009, script will return true, so that problem stil a homework for our team :)&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=amumandhousno-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=0596101996&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-2594341019064030141?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/2594341019064030141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/my-team-got-requirement-to-standarize.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/2594341019064030141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/2594341019064030141'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/my-team-got-requirement-to-standarize.html' title='Validate text to match specific date pattern on JavaScript'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6928308581795842608.post-7088175660175332954</id><published>2009-05-25T07:41:00.000-07:00</published><updated>2009-05-25T07:44:02.060-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='just note'/><title type='text'>Hello World</title><content type='html'>Hi, thanks for visiting this weblog, uhm ... like its name, the purpose of having this blog is to share my experience on software &amp;amp; web development :)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Okay, have nice reading (I mean when there would be enough post to be read) and looking forward for your next visit :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6928308581795842608-7088175660175332954?l=codewithsmile.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codewithsmile.blogspot.com/feeds/7088175660175332954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/hello-world.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/7088175660175332954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6928308581795842608/posts/default/7088175660175332954'/><link rel='alternate' type='text/html' href='http://codewithsmile.blogspot.com/2009/05/hello-world.html' title='Hello World'/><author><name>ADA</name><uri>http://www.blogger.com/profile/00550408883789759597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
