<?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-4899909151881020355</id><updated>2011-11-27T16:08:23.523-08:00</updated><title type='text'>Fasih On Writing</title><subtitle type='html'>Life is roking....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4899909151881020355.post-81727652804066273</id><published>2010-11-29T22:52:00.000-08:00</published><updated>2010-11-29T22:53:50.773-08:00</updated><title type='text'>Moving to Posterous</title><content type='html'>moving to http://fasih-hansmukh.posterous.com/... Now all my blog post  can be found there..&lt;br /&gt;See you there&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-81727652804066273?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/81727652804066273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=81727652804066273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/81727652804066273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/81727652804066273'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2010/11/moving-to-posterous.html' title='Moving to Posterous'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-5045611690492968193</id><published>2009-12-18T21:19:00.000-08:00</published><updated>2009-12-18T21:22:59.582-08:00</updated><title type='text'>Make a Zip/UnZip Software using SharpZipLib</title><content type='html'>One of my friend,Ubaid was working on zip and Un-zip utility today and found an interesting artical that will work in many casses. My task is to use this in Silver Light (that will be part of next post I.A)&lt;br /&gt;&lt;a href="http://www.codeproject.com/KB/cs/Zip_UnZip.aspx"&gt;http://www.codeproject.com/KB/cs/Zip_UnZip.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hansmukh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-5045611690492968193?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/5045611690492968193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=5045611690492968193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/5045611690492968193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/5045611690492968193'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2009/12/make-zipunzip-software-using.html' title='Make a Zip/UnZip Software using SharpZipLib'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-7234740999414491034</id><published>2009-11-16T02:17:00.000-08:00</published><updated>2009-11-16T03:10:44.484-08:00</updated><title type='text'></title><content type='html'>Weel i bit woory 2oday. got many tasks from many ends including my own. Morover i just got an idea of web base application, a system that will definetely hit stars bt can continue along, i need my amigos  .. bt as usual they never wana belive me.. as they always doo.. m thinkng BIG adn wana change .. bt.... lets see what i do next...&lt;br /&gt;&lt;br /&gt;Hansmukh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-7234740999414491034?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/7234740999414491034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=7234740999414491034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/7234740999414491034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/7234740999414491034'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2009/11/weel-i-bit-woory-2oday.html' title=''/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-7717807630647301745</id><published>2009-10-27T20:42:00.000-07:00</published><updated>2009-10-27T21:15:25.954-07:00</updated><title type='text'>Let the world know how BEST we are...</title><content type='html'>&lt;span style="color:#3333ff;"&gt;Hi "AMIGOS" We r related with field of IT. It should be a eye opener for us that we r mis using our lifetime see below pics and enable ur enthusiasm and passion to grab the focus of world towards us and lets make a team and together we can do anything to achieve our desired goals. Spare time will never come easily we have to sit together in order to develop or build any marvelous work like those peoples which are showing below with their achievements. There is no lackness of talent and hard work in ourself but the main weakness is we r not doing any combine effort with unity. So from now it is my request to all of u that if you have any idea to show our performance in the IT world pls let me know and I m always with u in any sort of task.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Internet has proved to be a good place of investment for many entrepreneurs, young and old. Some of the young entrepreneurs have earned huge success in their projects and have become millionaires at an early age.&lt;br /&gt;This list includes 10 such young entrepreneurs who have become millionaires on the internet.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;10) Greg Tseng and Johann Schleier-Smith&lt;/span&gt;&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Greg Tseng and Johann Schleier-Smith Tagged Inc. co-founded&lt;br /&gt;Age: 28 years oldProject: TaggedWealth: $45 million&lt;br /&gt;&lt;/span&gt;Tagged Inc. was co-founded by Harvard graduates and entrepreneurs Greg Tseng and Johann Schleier-Smith. Tagged.com was launched in October 2004 by Tagged Inc. and is privately owned.Tagged.com is a social networking site founded in 2004. Tagged is the subject of numerous customer complaints for sending deceptive bulk mail and is regarded as a phishing and spamming site and an "E-mail scam" by consumer anti-fraud advocates. It is headquartered in San Francisco, California, United States&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;9 Jake Nickell&lt;/span&gt;&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Threadless Co-founders Jake Nickell&lt;br /&gt;Age: 28 years oldProject: ThreadlessWealth: $50 million&lt;br /&gt;&lt;/span&gt;Threadless is a community-centered online apparel store run by skinnyCorp of Chicago, Illinois, since 2000. Co-founders Jake Nickell and Jacob DeHart started the company with $1,000 in seed money after entering an Internet t-shirt design contest.&lt;br /&gt;Members of the Threadless community submit t-shirt designs online; the designs are then put to a public vote. A small percentage of submitted designs are selected for printing and sold through an online store. Creators of the winning designs receive a prize of cash and store credit.&lt;br /&gt;8 Alexander Levin&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;ImageShack Co.founder Alexander Levin&lt;br /&gt;Age: 23 years oldProject: ImageShackWealth: $56 million&lt;/span&gt;&lt;br /&gt;ImageShack is an image hosting website on the Internet. ImageShack has a subscription service, but the majority of their revenue is produced from advertising related to their free image hosting. The imageshack.us Alexa ranking as of September 25, 2007 is one of the top 40's. According to Nielsen//NetRatings, ImageShack was the fourth fastest growing web brand in July, 2006.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;7 John Vechey&lt;/span&gt;&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;PopCap Games Co-founder John Vechey&lt;br /&gt;Age: 28 years oldProject: PopCap GamesWealth: $60 million&lt;br /&gt;&lt;/span&gt;PopCap Games is a leading American casual game developer and publisher, based in Seattle, Washington, United States. It was founded in 2000 by John Vechey, Brian Fiete and Jason Kapalka, and currently employs more than 180 people. Most of Popcap's games can be played free in a limited form, with the full version available for a fee.&lt;br /&gt;PopCap’s flagship title Bejeweled has sold more than 25 million units across all major platforms. PopCap games are available for Web, PC and Mac, Xbox, Xbox 360, PlayStation 3, cell-phones, PDAs, iPod Classic, iPhone/Touch and other mobile devices.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;6) Angelo Sotira&lt;/span&gt;&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;DeviantArt Co-founder Angelo SotiraAge: 26 years oldProject: DeviantARTWealth: $75 million&lt;br /&gt;DeviantArt (official typeset as deviantART; commonly abbreviated as dA) is an American online&lt;/span&gt; community with worldwide appeal showcasing various forms of user-made artwork. It was first launched on August 7, 2000 by Scott Jarkoff, Matthew Stephens, Angelo Sotira and others. DeviantArt, Inc. is headquartered in the Hollywood area of Los Angeles, California, United States. As of May 2009[update] the site consists of over 10 million members, over 81 million submissions, and receives around 105,000 submissions per day. The domain deviantart.com attracted at least 36 million visitors annually by 2008 according to a Compete.com study.&lt;br /&gt;DeviantArt aims to provide a place for any artist to exhibit and discuss works. Works are organized in a comprehensive category structure, including photography, digital art, traditional art, literature, Flash, filmmaking, skins for applications and others, along with extensive downloadable resources such as tutorials and stock photography. "Fella," a small robotic cat character, is the official DeviantArt mascot.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;5) Andrew Michael&lt;/span&gt;&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Fast Hosts founder Andrew Michael&lt;br /&gt;Age: 29 years oldProject: Fast HostsWealth: $110 million&lt;br /&gt;4) Blake Ross and David Hyatt&lt;/span&gt;&lt;br /&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;Mozilla firefox project by Dave Hyatt and Blake Ross.Age: 22 years oldProject: MozillaWealth: $120 million&lt;br /&gt;Mozilla Firefox is a free and open source web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation. Firefox has 22.98% of the recorded usage share of web browsers as of August 2009[update], making it the second most popular browser in terms of current use worldwide after Microsoft's Internet Explorer, which has 66.97%.&lt;br /&gt;To display web pages, Firefox uses the Gecko layout engine, which implements most current web standards in addition to several features which are intended to anticipate likely additions to the standards.&lt;br /&gt;Latest Firefox features include tabbed browsing, spell checking, incremental find, live bookmarking, a download manager, private browsing, location-aware browsing (aka "geolocation") based exclusively on a Google service and an integrated search system that uses Google by default in most localizations. Functions can be added through add-ons, created by third-party developers, of which there is a wide selection, a feature that has attracted many of Firefox's users.&lt;br /&gt;Firefox runs on various versions of Mac OS X, Microsoft Windows, Linux, and many other Unix-like operating systems. Its current stable release is version 3.5.3, released on September 9, 2009[update]. Firefox's source code is free software, released under a tri-license GNU GPL/GNU LGPL/MPL&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;3) Chad Hurley&lt;br /&gt;&lt;/span&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Chad Hurley co-founder and Chief Executive Officer youtube&lt;br /&gt;Age: 30 years oldProject: YouTubeWealth: $300 million&lt;/span&gt;&lt;br /&gt;Chad Meredith Hurley (born 1976) is the co-founder and Chief Executive Officer of the popular San Bruno, California-based video sharing website YouTube. In June 2006, he was voted 28th on Business 2.0's "50 People Who Matter Now" list. In October 2006 he sold YouTube for $1.65 billion to Google.&lt;br /&gt;Hurley worked in eBay's PayPal division—one of his tasks involved designing the original PayPal logo before starting YouTube with fellow PayPal colleagues Steve Chen and Jawed Karim.&lt;br /&gt;Hurley is a user interface expert and was primarily responsible for the tagging and video sharing aspects of YouTube&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;2) Andrew Gower&lt;br /&gt;&lt;/span&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Andrew Christopher Gower is a British games developer and co-founder of Jagex Ltd&lt;br /&gt;Age: 28 years oldProject: RunescapeWealth: $650 million&lt;/span&gt;&lt;br /&gt;Andrew Christopher Gower (born 2 December 1978) is a British games developer and co-founder of Jagex Ltd, the company he founded with Paul Gower and Constant Tedder. He is noted for writing MMORPG RuneScape, with the assistance of his brother, Paul Gower and also a lead developer.&lt;br /&gt;Jagex Games Studio (or Jagex Ltd./Jagex Software/JAGeX) is a producer of online computer games based in Cambridge, UK. It is best known for the three versions of its RuneScape MMO, as well as for having produced the FunOrb games site and developing the 'to be released' MechScape MMO. Jagex has over 350 employees, with all content development, management, and customer support provided 'in house'.&lt;br /&gt;The company produces games exclusively written using the Java language, its name standing for "JAva Gaming EXperts". It has received a number of awards for its achievements and is one of the highest profile developers in the UK.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;1) Mark Zuckerberg&lt;br /&gt;&lt;/span&gt;&lt;a href="http://topfuns.blogspot.com/2009/10/passing-under-cars.html" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Mark Elliot Zuckerberg Facebook Founder&lt;br /&gt;Age: 23 years oldProject: FacebookWealth: $700 million&lt;br /&gt;&lt;/span&gt;Mark Elliot Zuckerberg (born May 14, 1984) is an American computer programmer and entrepreneur. As a Harvard student, he created the online social website Facebook with fellow computer science major students and his roommates Dustin Moskovitz and Chris Hughes. Facebook is a social networking site popular worldwide. Zuckerberg serves as Facebook's CEO. He has been the subject of controversy for the origins of his business and his wealth. Time Magazine added Zuckerberg as one of The World's Most Influential People of 2008. He fell under the Scientists &amp;amp; Thinkers category for his web phenomenon, Facebook, and ranked 52 out of 101 people.&lt;br /&gt;&lt;br /&gt;Wake up AMIGOS...... Now its time to rule....&lt;br /&gt;&lt;br /&gt;Hansmukh(Member of Amigo)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-7717807630647301745?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/7717807630647301745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=7717807630647301745' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/7717807630647301745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/7717807630647301745'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2009/10/hi-amigos-we-r-related-with-field-of-it.html' title='Let the world know how BEST we are...'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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><entry><id>tag:blogger.com,1999:blog-4899909151881020355.post-247979509335159234</id><published>2009-10-25T06:21:00.000-07:00</published><updated>2009-10-25T06:23:20.106-07:00</updated><title type='text'>One-Time Setup Procedure for the Windows Communication Foundation Samples</title><content type='html'>One-Time Setup Procedure for the Windows Communication Foundation Samples&lt;br /&gt;&lt;br /&gt;One-time setup procedure for WCF samples&lt;br /&gt;Ensure that .NET Framework 3.0 is installed. Some samples rely on .NET Framework version 3.5; therefore, if you intend to run them, ensure that .NET Framework 3.5 is installed.&lt;br /&gt;Ensure that ASP.NET is set up. For more information about how to set up ASP.NET, see &lt;a id="ctl00_MTCS_main_ctl02" onclick="javascript:Track('ctl00_MTCS_main_ctl00ctl00_MTCS_main_ctl02',this);" href="http://msdn.microsoft.com/en-us/library/ms751518.aspx"&gt;Internet Information Service Hosting Instructions&lt;/a&gt;.&lt;br /&gt;If you installed IIS after installing WCF, you must register the appropriate scriptmaps with IIS. If you are running Windows Vista or Windows Server 2008, ensure that you performed the HTTP Activation procedure in step 2. If you are using Windows XP SP2 or Windows Server 2003, run the following command.&lt;br /&gt;Note:&lt;br /&gt;If you are using Windows Vista or Windows Server 2008, do not run this command.&lt;br /&gt;&lt;a class="copyCode" title="Copy Code" href="javascript:CopyCode(" s_oidt="0" s_oid="javascript:CopyCode('ctl00_MTCS_main_ctl04');"&gt;&lt;br /&gt;Copy Code &lt;/a&gt;&lt;br /&gt;"%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r&lt;br /&gt;&lt;br /&gt;Source: &lt;a href="http://msdn.microsoft.com/en-us/library/ms751527.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms751527.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hansmukh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-247979509335159234?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/247979509335159234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=247979509335159234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/247979509335159234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/247979509335159234'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2009/10/one-time-setup-procedure-for-windows.html' title='One-Time Setup Procedure for the Windows Communication Foundation Samples'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-1744156183964677627</id><published>2008-11-11T07:16:00.001-08:00</published><updated>2008-11-11T07:23:02.431-08:00</updated><title type='text'>Using TypeDescriptor to convert time..</title><content type='html'>convert string to datetime of any format.like 11:11:11, 11-11-11,12/12/12 by using&lt;br /&gt;&lt;span style="color:#ff9900;"&gt;TypeDescriptor&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  string strDate = "10:05:12";&lt;br /&gt; DateTime dt = (DateTime)(TypeDescriptor.GetConverter(new DateTime(1990, 5,  6)).ConvertFrom(strDate));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-1744156183964677627?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/1744156183964677627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=1744156183964677627' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1744156183964677627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1744156183964677627'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2008/11/using-typedescriptor-to-convert-time.html' title='Using TypeDescriptor to convert time..'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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><entry><id>tag:blogger.com,1999:blog-4899909151881020355.post-6503622643824354776</id><published>2008-11-07T02:39:00.000-08:00</published><updated>2008-11-07T02:44:31.321-08:00</updated><title type='text'>Removing Harmful HTML tag from user's input..</title><content type='html'>Here is a very simple method that strips all HTML tags from a string or just the harmful tags - you decide&lt;br /&gt;&lt;br /&gt;You need to set ValidateRequest=false in the page directive to turn this off, and on the server side carefully filter user subbmited value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;public string StripHtml(string html, bool allowHarmlessTags)&lt;br /&gt;{&lt;br /&gt;if (html == null  html == string.Empty)&lt;br /&gt;return string.Empty;&lt;br /&gt;if (allowHarmlessTags)&lt;br /&gt;return System.Text.RegularExpressions.Regex.Replace(html, "", string.Empty);&lt;br /&gt;return System.Text.RegularExpressions.Regex.Replace(html, "&lt;[^&gt;]*&gt;", string.Empty);&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-6503622643824354776?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/6503622643824354776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=6503622643824354776' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/6503622643824354776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/6503622643824354776'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2008/11/removing-harmful-html-tag-from-users.html' title='Removing Harmful HTML tag from user&apos;s input..'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-8429448328915977010</id><published>2008-08-18T23:18:00.000-07:00</published><updated>2008-08-18T23:19:08.167-07:00</updated><title type='text'></title><content type='html'>Gr8 wat to remove validation errors&lt;br /&gt;&lt;br /&gt;if (window.Page_Validators)     for (var vI = 0; vI &lt; Page_Validators.length; vI++)     {        var vValidator = Page_Validators[vI];        vValidator.isvalid = true;        ValidatorUpdateDisplay(vValidator);     }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-8429448328915977010?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/8429448328915977010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=8429448328915977010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/8429448328915977010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/8429448328915977010'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2008/08/gr8-wat-to-remove-validation-errors-if.html' title=''/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-8047668316243208540</id><published>2008-08-14T23:38:00.000-07:00</published><updated>2008-08-14T23:40:44.732-07:00</updated><title type='text'>Silver Light Help..</title><content type='html'>Great site discussing various silver light inslation error ..&lt;br /&gt;&lt;br /&gt;http://littletalk.wordpress.com/2008/06/06/tipstricks-silverlight-2-beta-1-tools-for-visual-studio-2008-installation-error/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-8047668316243208540?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/8047668316243208540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=8047668316243208540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/8047668316243208540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/8047668316243208540'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2008/08/silver-light-help.html' title='Silver Light Help..'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-1759393764332588229</id><published>2008-06-04T04:18:00.000-07:00</published><updated>2008-06-04T05:20:59.429-07:00</updated><title type='text'>My Masup Demp</title><content type='html'>&lt;object height="465" width="609" data="http://ultratest1.softech.us/embedplayer/EmbedPlayer.aspx?id=BB6fQ41XQ6Y=&amp;uid=toOhJc/eMhQ=" type="text/html" &gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-1759393764332588229?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/1759393764332588229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=1759393764332588229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1759393764332588229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1759393764332588229'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2008/06/my-masup-demp.html' title='My Masup Demp'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-8244738026642656373</id><published>2008-01-30T21:06:00.000-08:00</published><updated>2008-01-30T21:18:02.715-08:00</updated><title type='text'>Converting String in to color at run time and assiging it to Silverlight's TextBlock's foreground</title><content type='html'>&lt;span style="color:#33ccff;"&gt;&lt;span style="color:#ff6600;"&gt;Today I m very happy that I found very interesting thing after exploring msdn, I had a task that required to change color of textBlock’s font at run time. it is easy when working in .net related things, Normally, we used to convert the string to known-color by using TypeDescriptor. Unfortunately, I'm not able to use it in Silver light project,&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;textblock opacity="0.0" name="text1" width="140" height="43" top="1" font fontstyle="Normal;font-size:0;" foreground="Red"&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;we can do this&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;    Text1.Foreground = new SolidColorBrush (Color.FromRgb (22, 54, 55));&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;Works fine. But Problem arises when u want to change color on run time and getiing color name in string format.like &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;&lt;br /&gt;&lt;/span&gt;  String colorToApply=”Red”;&lt;br /&gt;  Text1.Foreground = new SolidColorBrush (xxxx);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#ff6600;"&gt;I was looking too much for TypeDescriptor and ColorConverter. But when exploring, I found System.Reflection class that will help me to achieve that task&lt;br /&gt;So here is what i did, I made a separate class in my project &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;&lt;br /&gt;&lt;/span&gt;using System.Reflection;&lt;br /&gt;public class ColorConvertor&lt;br /&gt; {&lt;br /&gt;   public Color GetThisColor(string colorString)&lt;br /&gt;  {&lt;br /&gt;&lt;br /&gt;     &lt;span style="color:#00cccc;"&gt;Type&lt;/span&gt; colorType = (&lt;span style="color:#3366ff;"&gt;typeof&lt;/span&gt;(System.Windows.Media.&lt;span style="color:#00cccc;"&gt;Colors&lt;/span&gt;));&lt;br /&gt;       if (colorType.GetProperty(colorString) != null)&lt;br /&gt;       {&lt;br /&gt;&lt;br /&gt;          &lt;span style="color:#3366ff;"&gt;object&lt;/span&gt; o = colorType.InvokeMember(colorString, &lt;span style="color:#00cccc;"&gt;BindingFlags&lt;/span&gt;.GetProperty, null,null,null);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;          &lt;span style="color:#3366ff;"&gt;if &lt;/span&gt;(o != &lt;span style="color:#3366ff;"&gt;null&lt;/span&gt;)&lt;br /&gt;             {&lt;br /&gt;              &lt;span style="color:#3366ff;"&gt;return&lt;/span&gt; (&lt;span style="color:#00cccc;"&gt;Color&lt;/span&gt;)o;&lt;br /&gt;              }&lt;br /&gt;         }&lt;br /&gt;     return &lt;span style="color:#00cccc;"&gt;Colors&lt;/span&gt;.Black;// If unknown color, return black&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;And I m using that calss like that,&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;   ColorReflector cr = new Ravs.ColorReflector();&lt;br /&gt;   string colorToApply="Yellow";&lt;br /&gt;   Text1.Foreground = new SolidColorBrush(cr.GetThisColor(colorToApply));&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;Well, normally we don't look at the Reflection,but now i believe it is the most powerful Namespace(at least in my case)&lt;br /&gt;&lt;br /&gt;Many thanks to Nash, Michael Sync ,Ravi Kant and U&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-8244738026642656373?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/8244738026642656373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=8244738026642656373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/8244738026642656373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/8244738026642656373'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2008/01/converting-string-in-to-color-at-run.html' title='Converting String in to color at run time and assiging it to Silverlight&apos;s TextBlock&apos;s foreground'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-1110737540532177942</id><published>2007-12-31T20:21:00.000-08:00</published><updated>2008-01-30T21:21:10.496-08:00</updated><title type='text'>A new year . . . . a new beginning</title><content type='html'>&lt;a href="http://alirazashaikh.blogspot.com/2008/01/new-year-new-beginning.html"&gt;A new year . . . . a new beginning&lt;/a&gt;&lt;br /&gt;While writing this post,  I wish a very Happy New Year to all the readers of this blog and those woh are really very close to me. Spread happiness, spread love and make each and everyone happy. forgeting what i did last year, focusing on what i could do in the years to come , So, my friends its a new year, a very new begening of  new ME&lt;br /&gt;Chill.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-1110737540532177942?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/1110737540532177942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=1110737540532177942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1110737540532177942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1110737540532177942'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2007/12/new-year-new-beginning.html' title='A new year . . . . a new beginning'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-7465162287739497204</id><published>2007-09-24T19:56:00.000-07:00</published><updated>2007-09-24T20:19:24.345-07:00</updated><title type='text'></title><content type='html'>salam.wel as usual, 2day m working on ensign tutor marketing web site n stuct in regular expression format. i hav to force user to enter integers only wd to charecter in texbox&lt;br /&gt;i went on many web sites bt no use, thn i found this as regularExpression fromat to force users for integers only&lt;br /&gt;&lt;br /&gt;^\d+$&lt;br /&gt;&lt;br /&gt;and others are&lt;br /&gt;&lt;br /&gt;Name&lt;br /&gt;^[a-zA-Z''-'\s]{1,40}$&lt;br /&gt;John DoeO'Dell&lt;br /&gt;Validates a name. Allows up to 40 uppercase and lowercase characters and a few special characters that are common to some names. You can modify this list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Social Security Number&lt;br /&gt;^\d{3}-\d{2}-\d{4}$&lt;br /&gt;111-11-1111&lt;br /&gt;Validates the format, type, and length of the supplied input field. The input must consist of 3 numeric characters followed by a dash, then 2 numeric characters followed by a dash, and then 4 numeric characters.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;E-mail&lt;br /&gt;^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$&lt;br /&gt;someone@example.com&lt;br /&gt;Validates an e-mail address.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;URL&lt;br /&gt;^(htf)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&amp;amp;%\$#_]*)?$&lt;br /&gt;http://www.microsoft.com&lt;br /&gt;Validates a URL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Password&lt;br /&gt;(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$&lt;br /&gt;&lt;br /&gt;Validates a strong password. It must be between 8 and 10 characters, contain at least one digit and one alphabetic character, and must not contain special characters.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Non- negative integer&lt;br /&gt;^\d+$&lt;br /&gt;0986&lt;br /&gt;Validates that the field contains an integer greater than zero.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Currency (non- negative)&lt;br /&gt;^\d+(\.\d\d)?$&lt;br /&gt;1.00&lt;br /&gt;Validates a positive currency amount. If there is a decimal point, it requires 2 numeric characters after the decimal point. For example, 3.00 is valid but 3.1 is not.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Currency (positive or negative)&lt;br /&gt;&lt;br /&gt;^(-)?\d+(\.\d\d)?$&lt;br /&gt;1.20&lt;br /&gt;Validates for a positive or negative currency amount. If there is a decimal point, it requires 2 numeric characters after the decimal point.&lt;br /&gt;&lt;br /&gt;\d will match one integer\d+ will match one or more&lt;br /&gt;\d{n} will match exactly n integers[0-9] is the same as \d&lt;br /&gt;&lt;br /&gt;\d will match one integer\d+ will match one or more&lt;br /&gt;\d{n} will match exactly n integers[0-9] is the same as \d&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.mikesdotnetting.com/Article.aspx?ArticleID=46"&gt;http://www.mikesdotnetting.com/Article.aspx?ArticleID=46&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-7465162287739497204?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/7465162287739497204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=7465162287739497204' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/7465162287739497204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/7465162287739497204'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2007/09/salam.html' title=''/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-3283066869194536969</id><published>2007-09-16T23:22:00.000-07:00</published><updated>2007-09-16T23:24:03.136-07:00</updated><title type='text'>Passing date as value in stored procedure</title><content type='html'>Salam ,&lt;br /&gt;2day , whn I was working on web services , had a task to pass data as value in stored procedure,(I created sp in dataset).i didn’t knw how to pass date bt thx DANISH BHI onceagin,he helped me agin.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[WebMethod]&lt;br /&gt;    public void addemp(string name ,string date,int ptcl)&lt;br /&gt;    {&lt;br /&gt;        DateTime d = DateTime.Parse(date);&lt;br /&gt;       empTableAdapter e = new empTableAdapter();&lt;br /&gt;        e.InsertTest(name,d,ptcl);&lt;br /&gt;            &lt;br /&gt;    }  &lt;/strong&gt;Simple???&lt;br /&gt;Danish bhi u rocks…n don’t forget to pas comments as m doing some marketing stuff tooo. heheheh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-3283066869194536969?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/3283066869194536969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=3283066869194536969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/3283066869194536969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/3283066869194536969'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2007/09/passing-date-as-value-in-stored.html' title='Passing date as value in stored procedure'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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-4899909151881020355.post-119235833303211463</id><published>2007-08-17T00:04:00.000-07:00</published><updated>2007-08-17T00:06:42.277-07:00</updated><title type='text'>How to put java script calendar in details view</title><content type='html'>How to put java script calendar in details view&lt;br /&gt;&lt;br /&gt;Well whn working at SoftechWW on 10 August 17, 2007, I hav a task to put calendar in details view so tht no one has to out date manually&lt;br /&gt; &lt;a href="http://bp3.blogger.com/_0clt53dG0n0/RsVIzk-KbZI/AAAAAAAAAAM/6lS8VmB4eUc/s1600-h/pic1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_0clt53dG0n0/RsVIzk-KbZI/AAAAAAAAAAM/6lS8VmB4eUc/s320/pic1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5099562204001889682" /&gt;&lt;/a&gt;&lt;br /&gt;As a new to dotnet I faced difficulties in starting,I googeled out so many web sited bt cant implement what was in the task&lt;br /&gt;&lt;br /&gt;Well it is llittle difficult whn u hav master pages in ur web sites&lt;br /&gt;I did somthng like&lt;br /&gt;After &lt;head&gt; tag in master page&lt;br /&gt;&lt;script type="text/javascript" language="javascript" src="cal2.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;script  type="text/javascript" language="javascript" src="cal_conf2.js"&gt;&lt;/script&gt;&lt;br /&gt;cal2.js and cal_conf2.js shd ot in ur root.&lt;br /&gt;&lt;br /&gt;U can get tht script frm&lt;br /&gt;http://cid-6df087b9c8817648.skydrive.live.com/browse.aspx/Public/ &lt;br /&gt;&lt;br /&gt;now I converted insert mode in edit mode of details view for month of servise into templet and thn did tht&lt;br /&gt;&lt;InsertItemTemplate&gt;&lt;br /&gt;                    &lt;asp:TextBox ID="TextBox6" runat="server" Text='&lt;%# Bind("MonthsOfService") %&gt;'&gt;&lt;/asp:TextBox&gt;&lt;br /&gt;&lt;small&gt; &lt;a href="javascript:showCal('Calendar4')"&gt;Select Date&lt;/a&gt;&lt;/small&gt;&lt;br /&gt;                   &lt;br /&gt;                &lt;/InsertItemTemplate&gt;&lt;br /&gt;And same for date of joining and industry experience&lt;br /&gt;&lt;br /&gt;Now important thng&lt;br /&gt;Whn using master pages,on run time all id’s of controls changes with respect to masterpage id&lt;br /&gt;&lt;br /&gt;Nw go to cal_conf.js&lt;br /&gt;/Define calendar(s):&lt;br /&gt; addCalendar ("Unique Calendar Name", "Window title", "Form element's name", Form name")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;addCalendar("Calendar1", "Select Date", "ctl00_ContentPlaceHolderCenter_DetailsView1_test2", "aspnetForm");&lt;br /&gt;addCalendar("Calendar2", "Select Date", "ctl00_ContentPlaceHolderCenter_DetailsView1_TextBox7", "aspnetForm");&lt;br /&gt;addCalendar("Calendar3", "Select Date", "ctl00_ContentPlaceHolderCenter_DetailsView1_TextBox9", "aspnetForm");&lt;br /&gt;&lt;br /&gt;addCalendar("Calendar4", "Select Date", "ctl00_ContentPlaceHolderCenter_DetailsView1_TextBox6", "aspnetForm");&lt;br /&gt;addCalendar("Calendar5", "Select Date", "ctl00_ContentPlaceHolderCenter_DetailsView1_TextBox7", "aspnetForm");&lt;br /&gt;addCalendar("Calendar6", "Select Date", "ctl00_ContentPlaceHolderCenter_DetailsView1_TextBox9", "aspnetForm");&lt;br /&gt;&lt;br /&gt;first three are for edit mode and next three for insert mode&lt;br /&gt;**if u don’t knw wht is ur controls id thn run ur page in internet exployer n view source.here u can find wht is ur control name generated on run tim&lt;br /&gt;Tc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-119235833303211463?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/119235833303211463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=119235833303211463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/119235833303211463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/119235833303211463'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2007/08/how-to-put-java-script-calendar-in.html' title='How to put java script calendar in details view'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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://bp3.blogger.com/_0clt53dG0n0/RsVIzk-KbZI/AAAAAAAAAAM/6lS8VmB4eUc/s72-c/pic1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4899909151881020355.post-1140321909385735398</id><published>2007-08-07T23:08:00.000-07:00</published><updated>2007-08-07T23:09:41.656-07:00</updated><title type='text'>how to put DropDown in DetailView or FormView</title><content type='html'>How to put dropdown (bind with another daatsource) in detailsView and Form View(wd difft source)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source &lt;a href="http://forums.asp.net/p/978241/1245194.aspx"&gt;http://forums.asp.net/p/978241/1245194.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 1&lt;br /&gt;First go to adv stetting of detailView and select tht field which in place of which u wana use dropdown and select [convert to templet]&lt;br /&gt;&lt;br /&gt;Now add sqldatasoucse in what u r getting to this (vil use ths for populating dropdown).&lt;br /&gt;Let say name is SqlDataSource3 having {GroupID and NAME  init}&lt;br /&gt;&lt;br /&gt;No go to source and change followings.. thngs..&lt;br /&gt;Inside &lt;asp:TemplateField…. Ths will be there in source automatically whn v do step 1&lt;br /&gt;&lt;br /&gt;&lt;edititemtemplate&gt;&lt;br /&gt;&lt;asp:DropDownList ID="MasterId" runat="server" DataSourceID="SqlDataSource3" DataTextField="Name"&lt;br /&gt;                         DataValueField="GroupID" SelectedValue='&lt;%# Bind("GroupID") %&gt;'&gt;&lt;br /&gt;&lt;/asp:DropDownList&gt;&lt;br /&gt;                            &lt;/edititemtemplate&gt;&lt;br /&gt;                &lt;insertitemtemplate&gt;&lt;br /&gt;                   &lt;br /&gt;                    &lt;asp:DropDownList ID="MasterId" runat="server" DataSourceID="SqlDataSource3" DataTextField="Name"&lt;br /&gt;                         DataValueField="GroupID" SelectedValue='&lt;%# Bind("GroupID") %&gt;'&gt;&lt;br /&gt;                    &lt;/asp:DropDownList&gt;  &lt;/insertitemtemplate&gt;&lt;br /&gt;               &lt;br /&gt;                &lt;itemtemplate&gt;&lt;br /&gt;                    &lt;asp:DropDownList ID="MasterId" runat="server" DataSourceID="SqlDataSource3" DataTextField="Name"&lt;br /&gt;                                DataValueField="GroupID" Enabled=false  SelectedValue='&lt;%# Bind("GroupID") %&gt;'&gt;&lt;br /&gt;                            &lt;/asp:DropDownList&gt;&lt;br /&gt;&lt;br /&gt;                &lt;/itemtemplate&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now go to&lt;br /&gt;&lt;deleteparameters&gt;&lt;br /&gt;Remove previous If hav thn&lt;br /&gt;&lt;asp:parameter name="MasterId" type="int32"&gt;&lt;br /&gt;&lt;updateparameters&gt;&lt;br /&gt;            &lt;asp:parameter name="MasterId" type="int32"&gt;&lt;br /&gt;&lt;insertparameters&gt;&lt;br /&gt;            &lt;asp:parameter name="MasterId" type="int32"&gt;&lt;br /&gt;&lt;br /&gt;In form view , u can directly go to source and remove field and add dropdown&lt;br /&gt;&lt;br /&gt;&lt;asp:DropDownList ID="GroupID" runat="server" DataSourceID="SqlDataSource3" DataTextField="Name"&lt;br /&gt;                                DataValueField="GroupID" SelectedValue='&lt;%# Bind("GroupID") %&gt;'&gt;&lt;br /&gt;                            &lt;/asp:DropDownList&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4899909151881020355-1140321909385735398?l=hansmukh-fasih.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hansmukh-fasih.blogspot.com/feeds/1140321909385735398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4899909151881020355&amp;postID=1140321909385735398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1140321909385735398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4899909151881020355/posts/default/1140321909385735398'/><link rel='alternate' type='text/html' href='http://hansmukh-fasih.blogspot.com/2007/08/how-to-put-dropdown-in-detailview-or.html' title='how to put DropDown in DetailView or FormView'/><author><name>Hansmukh</name><uri>http://www.blogger.com/profile/05724008234258898869</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></feed>
