<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Code Center</title>
	<atom:link href="http://kirandangar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirandangar.wordpress.com</link>
	<description>Useful Stuffs for asp.net web developers</description>
	<lastBuildDate>Mon, 23 Jan 2012 12:47:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kirandangar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8292469d524acb1b070424fc330a3134?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>The Code Center</title>
		<link>http://kirandangar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kirandangar.wordpress.com/osd.xml" title="The Code Center" />
	<atom:link rel='hub' href='http://kirandangar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to add Google +1 button and Facebook like button to wordpress blog</title>
		<link>http://kirandangar.wordpress.com/2011/07/19/how-to-add-google-1-button-and-facebook-like-button-to-wordpress-blog/</link>
		<comments>http://kirandangar.wordpress.com/2011/07/19/how-to-add-google-1-button-and-facebook-like-button-to-wordpress-blog/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 11:56:42 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Google +1]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/?p=259</guid>
		<description><![CDATA[This is small yet useful thing. I was looking to add Google +1 button to my blog, which is hosted on wordpress.com. And it doesn&#8217;t give access to edit the code . There are many widgets available for google +1 button on web (like  : http://wordpress.org/extend/plugins/google-1-widget/), but it requires to edit the code, so its not helpful [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=259&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is small yet useful thing.</p>
<p>I was looking to add Google +1 button to my blog, which is hosted on wordpress.com. And it doesn&#8217;t give access to edit the code .</p>
<p>There are many widgets available for google +1 button on web (like  : <a href="http://wordpress.org/extend/plugins/google-1-widget/">http://wordpress.org/extend/plugins/google-1-widget/</a>), but it requires to edit the code, so its not helpful if blog is hosted on wordpress.com.</p>
<p>Finally i fund the solution, there is a section under Settings tab in Dashboard called <strong>Sharing (Settings &gt; Sharing)  </strong>where you can find options of adding Google +1 button , facebook share/like , twitter , linked-in, print button etc. and few other options too.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=259&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2011/07/19/how-to-add-google-1-button-and-facebook-like-button-to-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>23.039574 72.566020</georss:point>
		<geo:lat>23.039574</geo:lat>
		<geo:long>72.566020</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>
	</item>
		<item>
		<title>8 things about jQuery which makes it a powerful tool to write rich client side scripting</title>
		<link>http://kirandangar.wordpress.com/2011/07/19/8-things-about-jquery-which-makes-it-a-powerful-tool-to-write-rich-client-side-scripting/</link>
		<comments>http://kirandangar.wordpress.com/2011/07/19/8-things-about-jquery-which-makes-it-a-powerful-tool-to-write-rich-client-side-scripting/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 09:46:43 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[J-Query]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Developement]]></category>
		<category><![CDATA[Client Scripting]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/?p=250</guid>
		<description><![CDATA[&#160; &#160; This is just a re-sharing of my past article @GatewayTechnolabs Blog. For whom the client side scripting becomes a headache OR for those who loves client side scripting… jQuery is a great way of doing client side scripting with ease and fun. Playing with HTML DOM elements using jQuery is really a fun [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=250&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>&nbsp;</p>
<p><em>This is just a re-sharing of my past article @<a href="http://www.gatewaytechnolabs.com/blog/2010/07/8-things-about-jquery-which-makes-it-a-powerful-tool-to-write-rich-client-side-scripting/#respond" target="_blank">GatewayTechnolabs Blog</a>.</em></p>
<p>For whom the client side scripting becomes a headache OR for those who loves client side scripting… jQuery is a great way of doing client side scripting with ease and fun. Playing with HTML DOM elements using jQuery is really a fun and as easy as writing ABCD <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p><strong>Introduction:  </strong>jQuery is actually an Open Source cross-browser JavaScript library which is allows faster and easier JavaScript development then the traditional JavaScript development.</p>
<p>There are 7 things which gives power to the developers for building robust and excellent client side scripts.</p>
<p><strong>1 &#8211; Cross browser support</strong> :</p>
<p>Those who have ever written traditional JavaScript, they must have faced problems with diff. browser support and it becomes a tedious stuff for detecting browser behaviors and writing separate logics for all , but jQuery has wiped out all those problem by giving cross browser support. So no more cross-browsing compatibility issues here.</p>
<p><strong>2 &#8211; jQuery selectors , manipulation &amp; Traversing</strong></p>
<p>Every web developers must have used CSS and its syntax for defining styles by class (with DOT) / elements  / element ID (using #), jQuery also uses all common CSS syntax for selecting a set of DOM elements which is called jQuery Selectors.</p>
<p>i.e. $(“#sample”)  will return all the DOM elements with [ ID = sample ]</p>
<p>$(“div.xyz span#abc”) will return only those &lt;span&gt; elements with ID= abc and are child of a &lt;div&gt; with class name “xyz”</p>
<p>To learn more you can visit :<a href="http://api.jquery.com/category/selectors/"> http://api.jquery.com/category/selectors/</a></p>
<p><strong>3 &#8211; jQuery EventBinding</strong></p>
<p>jQuery supports all such events like click ,mouse over/move,load, etc. Writing event on any set of DOM elements are also becomes easier with JQ, by just passing a function as a parameter in event binding.</p>
<p>its as easy as this : $(“#sample”).click(function(){ alert(‘Hi there !’); });</p>
<p>To learn more you can visit :<a href="http://api.jquery.com/category/events/"> http://api.jquery.com/category/events/</a></p>
<p><strong>4 &#8211; Callback functions</strong></p>
<p>jQuery also facilitates the callback functions in many methods which becomes useful while working with animations or any timer based functionalities.</p>
<p>i.e. : $(“#sample”).show(“slow”, [ optional callback function ] );</p>
<p><strong>5 &#8211; Utilization of JSON</strong></p>
<p>JSON stands for “JavaScript object notation”. Use of JSON everywhere as an optional parameters makes jQuery more flexible and powerful for passing a set of parameters.</p>
<p>Jquery utilizes JSON format widely in most of inbuilt functions ,all AJAX methods and in jQuery plug-in development as well.</p>
<p>i.e. : $(“#sample”).css({height:”40px”, color:”black” });</p>
<p><strong>6 &#8211; jQuery AJAX</strong></p>
<p>jQuery gives a variety of AJAX functionalities to the developers with extensive use of callbacks for different AJAX events, and a good thing about jQuery AJAX is that we don’t have to take care about cross-browser compatibility issues. and no need to take care of xmlHTTP object n all.</p>
<p>It gives different functions for all kind of developer’s needs</p>
<p>i.e. $(“#sample”).load( [ URL] ); – a very basic function, which will load the HTML from the specified URL into #sample.</p>
<p>To learn more visit : <a href="http://api.jquery.com/category/ajax/">http://api.jquery.com/category/ajax/</a></p>
<p><strong>7 &#8211; jQuery plugins</strong></p>
<p>jQuery plug-in is a concept or we can say a mechanism of making our own functionality generalized by packaging it all together as a plug-in.</p>
<p>jQuery plug-in offers great portability to the code and of course code re-usability with ease.</p>
<p>To learn more visit : <a href="http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Plug_me:_Writing_your_own_plugins">http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Plug_me:_Writing_your_own_plugins</a></p>
<p><strong>8 &#8211; JQuery UI</strong></p>
<p>jQuery UI is an Open Source library which is built on core jQuery.</p>
<p>It can be used to built highly interactive web applications,</p>
<p>jQuery UI offers a wide range of inbuilt functions for animations, effects , themes mechanism , rich  UI widgets and complex behaviors like Drag-Drop , resizing , selection &amp; sorting.</p>
<ul>
<li>jQuery UI categories all functionalities in main 3 section given below
<ul>
<li><strong>Interaction:</strong> Covers complex behaviors like Drag-Drop elements, Resizing and Sorting. And provides a wide range of options for handling different behaviors and scenarios</li>
<li><strong>Widgets: </strong>Fully functional rich UI elements (ultimately jQuery plug-ins) with a Rich User Interface and flexible theming options.</li>
<li><strong>Effects: </strong>Enables supports of various animation and transition effects like slide,blind,bounce, drop,fade etc.</li>
</ul>
</li>
</ul>
<p>To learn more visit : <a href="http://jqueryui.com/demos/">http://jqueryui.com/demos/</a></p>
<p>Enjoy playing with jQuery <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=3820048" target="_blank">Code Project</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=250&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2011/07/19/8-things-about-jquery-which-makes-it-a-powerful-tool-to-write-rich-client-side-scripting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Implementing J-Query Model Popup Plug-In and Playing FLV file in a model popup</title>
		<link>http://kirandangar.wordpress.com/2010/03/24/implementing-j-query-model-popup-plug-in-and-playing-flv-file-in-a-model-popup/</link>
		<comments>http://kirandangar.wordpress.com/2010/03/24/implementing-j-query-model-popup-plug-in-and-playing-flv-file-in-a-model-popup/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 13:07:47 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[J-Query]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Developement]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/03/24/implementing-j-query-model-popup-plug-in-and-playing-flv-file-in-a-model-popup/</guid>
		<description><![CDATA[Implementing Model popup Plug In As shown in above screen, developing Model Popup will require 2 layers: Disabled Back ground Popup content Panel We will implement a plug In and call it on Popup Panel element. Somewhat like: $(&#8220;div.popupDiv&#8221;).ShowPopup(); ShowPopup(); Is a plug-In method which will initiate an instance of the plug-In which we going [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=235&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1><span style="color:#4f81bd;"><em>Implementing Model popup Plug In<br />
</em></span></h1>
<p><img src="http://kirandangar.files.wordpress.com/2010/03/032410_1307_implementin1.png?w=500" alt="" /></p>
<p>As shown in above screen, developing Model Popup will require 2 layers:</p>
<ol>
<li>Disabled Back ground</li>
<li>Popup content Panel</li>
</ol>
<p>We will implement a plug In and call it on Popup Panel element.</p>
<p>Somewhat like:  <span style="font-family:Courier New;font-size:10pt;">$(<span style="color:#a31515;">&#8220;div.popupDiv&#8221;</span>).ShowPopup();<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><strong><em>ShowPopup();</em></strong><br />
</span>Is a plug-In method which will initiate an instance of the plug-In which we going to implement as next step.</p>
<p>Prior to that a CSS for Disabled background needs to be developed</p>
<p>Which we can achieve as below:</p>
<p><span style="color:#a31515;font-family:Courier New;font-size:10pt;">.popupbackGround<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">position</span>: <span style="color:blue;">absolute</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">height</span>: <span style="color:blue;">100%</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">width</span>: <span style="color:blue;">100%</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">left</span>: <span style="color:blue;">0px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">top</span>: <span style="color:blue;">0px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">background-color</span>: <span style="color:blue;">#000</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">z-index</span>: <span style="color:blue;">1</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">opacity</span>: <span style="color:blue;">0.5</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">filter</span>: <span style="color:blue;">alpha(opacity =50)</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">display</span>: <span style="color:blue;">none</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="color:gray;"><em>We don&#8217;t have to assign this CSS class anywhere in HTML, but we will use this class while implementing Plug-In.</em><br />
</span></p>
<p><span style="color:gray;">Next to this, we will implement Model Popup J-Query Plug-In.<br />
</span></p>
<p><span style="color:gray;">Parameter to be passed to Plug-In: </span><span style="color:green;font-family:Courier New;font-size:10pt;"><strong>closeButtonCSS<br />
</strong></span></p>
<p><span style="color:gray;">The plug in will be called on the popup panel itself and take one parameter called <strong>CloseButtonCSS </strong>which will be used to close the Model popup.<br />
</span></p>
<p><span style="color:gray;">We will create close event on the specified close button in parameter.<br />
</span></p>
<p><strong>model-popup.js<span style="color:gray;"> (Plug-In file)<br />
</span></strong></p>
<p><span style="font-family:Courier New;font-size:10pt;">jQuery.noConflict();<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">(<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">function</span>($K){<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">$K.fn.ShowPopup=<span style="color:blue;">function</span>(data)<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> {</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:green;">/* Parameters: closeButtonCSS */</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> $K(<span style="color:blue;">this</span>).each(<span style="color:blue;">function</span>(i)<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> {</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">var</span> dbBack,intTopAxis=0;</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">var</span> objCloseButton= $K(<span style="color:#a31515;">&#8220;.&#8221;</span> + data.closeButtonCSS);</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">var</span> objPopup= $K(<span style="color:blue;">this</span>);</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">var</span> a;</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">objCloseButton.click(<span style="color:blue;">function</span>(){ HidePopup(); });</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> $K(window).scroll(<span style="color:blue;">function</span>(){</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">var</span> xTop= parseInt($K(window).scrollTop()) + intTopAxis ;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> objPopup.animate({top:xTop+ <span style="color:#a31515;">&#8220;px&#8221;</span>},{queue: <span style="color:blue;">false</span>, duration: 350});<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> });<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> initBackGround = <span style="color:blue;">function</span>(){</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> dbBack = $K(<span style="color:#a31515;">&#8220;&lt;div&gt;&lt;/div&gt;&#8221;</span>).attr(<span style="color:#a31515;">&#8220;class&#8221;</span>,<span style="color:#a31515;">&#8220;popupbackGround&#8221;</span>).css(<span style="color:#a31515;">&#8220;height&#8221;</span>,$K(document).height()).hide();<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> $K(<span style="color:#a31515;">&#8220;body&#8221;</span>).append(dbBack);<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> intTopAxis= parseInt(($K(window).height())/2)-(objPopup.height()/2); }</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> ShowPopup = <span style="color:blue;">function</span>(){ initBackGround(); </span></p>
<p><span style="font-family:Courier New;font-size:10pt;">dbBack.fadeIn(<span style="color:blue;">function</span>(){objPopup.show();</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">});</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> objPopup.css({<span style="color:#a31515;">&#8220;left&#8221;</span>: (($K(window).width())/2)-(objPopup.width()/2),<span style="color:#a31515;">&#8220;top&#8221;</span>: (($K(window).height())/2)-(objPopup.height()/2)+parseInt($K(window).scrollTop())});<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> }<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> HidePopup = <span style="color:blue;">function</span>() {</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">objPopup.fadeOut(); dbBack.fadeOut();</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> ShowPopup();<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> });<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> }<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">})(jQuery);<br />
</span></p>
<h1><span style="color:#4f81bd;"><em>How to call Model Popup<br />
</em></span></h1>
<p>Popup Plug-In can be called on any Div object. And the DIV itself will get displayed as a popup like shown in the above screen.</p>
<p>For example:</p>
<p>Target popup DIV class is <span style="color:#a31515;font-family:Courier New;font-size:10pt;">popupDiv.<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><br />
<span style="color:blue;">&lt;</span><span style="color:#a31515;">div</span><span style="color:#a31515;"> </span><span style="color:red;">class</span><span style="color:blue;">=&#8221;popupDiv&#8221;&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:#a31515;">div</span><span style="color:blue;">&gt;<span style="color:#000000;">Popup Content Goes Here.. <span style="color:blue;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">div</span><span style="color:#a31515;"> </span><span style="color:red;">class</span><span style="color:blue;">=&#8221;close&#8221;&gt;<span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">a <span style="color:#000000;"><span style="color:red;">class</span><span style="color:blue;">=&#8221;lnkClose&#8221;&gt; <span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">img <span style="color:#000000;"><span style="color:red;">src</span><span style="color:blue;">=&#8221;resource/small-closelabel.gif&#8221; <span style="color:#000000;"><span style="color:blue;">/&gt;&lt;/</span><span style="color:#a31515;">a</span><span style="color:blue;">&gt;</span></span></span></span></span></span></span></span></span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;"><span style="color:#000000;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">div</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p>We can popup by placing the following javascript :</p>
<p><span style="font-family:Courier New;font-size:10pt;"> $k(<span style="color:#a31515;">&#8220;div.popupDiv&#8221;</span>).ShowPopup(<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> {<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> closeButtonCSS:<span style="color:#a31515;">&#8220;lnkClose&#8221;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> });<br />
</span></p>
<p>Here &#8220;<span style="font-family:Courier New;font-size:10pt;"><strong>closeButtonCSS:<span style="color:#a31515;">&#8220;lnkClose&#8221; </span></strong></span> is used to treat <strong>lnkClose </strong>as close button of popup.</p>
<h1><span style="color:#4f81bd;"><em>Playing FLV<br />
</em></span></h1>
<p>To play any FLV file in HTML will require a flash based FLV player. There are many FLV players available among of those we will use one, which is a flash file and we can play FVL using the flash FLV player.</p>
<p>Here we will require 2 flash (SWF) files:</p>
<ol style="margin-left:72pt;">
<li>flvplayer.swf (<a href="http://2gjqqg.bay.livefilestore.com/y1p79qAzBvUgYqQtUPobIBUzQlAhWgykS5T2dZdugTJteJPjhhsdFgkAa_B5ct_qVqgK8pBYFuwUhYeAc62aw4ycNoyv7gt2hce/flvplayer.swf?download">download </a>)</li>
<li>SteelExternalAll.swf (needs to be placed on same path of container HTML page) (<a href="http://2gjqqg.bay.livefilestore.com/y1pw8tb94dM-ToD4wwDeGTsH5473I2rvajjlhNetdx1lnAVF2smHXqBO17mTkfnOKhU-IPUg4PhoNtc-vcPe9cg9PbPC5V1HQwu/SteelExternalAll.swf?download">Download</a>)</li>
</ol>
<p>Below is how to embed object in HTML page to play FLV using above FLV player.</p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">object</span><span style="color:#a31515;"> </span><span style="color:red;">id</span><span style="color:blue;">=&#8221;Object1&#8243;</span><span style="color:blue;"> </span><span style="color:red;">height</span><span style="color:blue;">=&#8221;380&#8243;</span><span style="color:blue;"> </span><span style="color:red;">width</span><span style="color:blue;">=&#8221;400&#8243;</span><span style="color:blue;"> </span><span style="color:red;">classid</span><span style="color:blue;">=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; <span style="color:#000000;"><span style="color:red;">codebase</span><span style="color:blue;">=&#8221;http://macromedia.com/cabs/swflash.cab#version=6,0,0,0&#8243;&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">param</span><span style="color:#a31515;"> </span><span style="color:red;">name</span><span style="color:blue;">=&#8221;movie&#8221;</span><span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=&#8221;flash/flvplayer.swf&#8221;</span><span style="color:blue;"> </span><span style="color:blue;">/&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:#a31515;">param</span><span style="color:#a31515;"> </span><span style="color:red;">name</span><span style="color:blue;">=&#8221;FlashVars&#8221;</span><span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=&#8221;flvurl=../flash/test.flv&#8221;</span><span style="color:blue;"> </span><span style="color:blue;">/&gt; </span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:#a31515;">param</span><span style="color:#a31515;"> </span><span style="color:red;">name</span><span style="color:blue;">=&#8221;quality&#8221;</span><span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=&#8221;high&#8221;</span><span style="color:blue;"> </span><span style="color:blue;">/&gt; </span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:#a31515;">param</span><span style="color:#a31515;"> </span><span style="color:red;">value</span><span style="color:blue;">=&#8221;true&#8221;</span><span style="color:blue;"> </span><span style="color:red;">name</span><span style="color:blue;">=&#8221;autoplay&#8221;</span><span style="color:blue;"> </span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">embed </span><span style="color:red;">height</span><span style="color:blue;">=&#8221;380&#8243; </span><span style="color:red;">width</span><span style="color:blue;">=&#8221;400&#8243; </span><span style="color:red;">src</span><span style="color:blue;">=&#8221;flash/flvplayer.swf&#8221; </span><span style="color:red;">flashvars</span><span style="color:blue;">=&#8221;flvurl=../flash/test.flv&#8221; <span style="color:#000000;"><span style="color:red;">type</span><span style="color:blue;">=&#8221;application/x-shockwave-flash&#8221; /&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">object</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p>Above code will take FLV file path as a parameter, that is been specified at 2 places.</p>
<ol>
<li><span style="font-family:Courier New;font-size:10pt;"><span style="color:red;">flashvars</span><span style="color:blue;">=&#8221;flvurl=../flash/test.flv&#8221;</span></span></li>
<li><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">param</span><span style="color:#a31515;"> </span><span style="color:red;">name</span><span style="color:blue;">=&#8221;movie&#8221;</span><span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=&#8221;flash/flvplayer.swf&#8221;</span><span style="color:blue;"> </span><span style="color:blue;">/&gt;<br />
</span></span></li>
</ol>
<p>Your FLV file path will go here.</p>
<h1><span style="color:#4f81bd;"><em>Putting all together<br />
</em></span></h1>
<p>Now we got both things ready with us.</p>
<ol style="margin-left:72pt;">
<li>Implemented J-Query plug-In for model popup</li>
<li>FLV player</li>
</ol>
<p>Simply placing the &lt;object&gt; tag inside the Popup Div will result in our targeted output.</p>
<p>In addition to that we will require a Button to be clicked to show model popup. Like shown below</p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">a</span><span style="color:#a31515;"> </span><span style="color:red;">class</span><span style="color:blue;">=&#8221;lnkPopup&#8221;&gt;</span>Play FLV in Popup<span style="color:blue;">&lt;/</span><span style="color:#a31515;">a</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;"><span style="color:#000000;font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;">Let&#8217;s create a simple J-Query click event of the above link and call popup plug-In inside click event, like shown below.</span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">script</span><span style="color:#a31515;"> </span><span style="color:red;">type</span><span style="color:blue;">=&#8221;text/javascript&#8221;</span><span style="color:blue;"> </span><span style="color:red;">language</span><span style="color:blue;">=&#8221;javascript&#8221;&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">var</span> $k=jQuery.noConflict();<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> $k(document).ready(<span style="color:blue;">function</span>(){</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">$k(<span style="color:#a31515;">&#8220;a.lnkPopup&#8221;</span>).click(<span style="color:blue;">function</span>()</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> {<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> $k(<span style="color:#a31515;">&#8220;div.popupDiv&#8221;</span>).ShowPopup(<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> {<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> closeButtonCSS:<span style="color:#a31515;">&#8220;lnkClose&#8221;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> });<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> });<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> });<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">script</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p>You can also download full source code ZIP file by clicking <a href="http://cid-180d3957230b5ca6.skydrive.live.com/self.aspx/Blog%20files/Popup%20FLV%20play/FLVplay-jq-modelpopup.rar">here</a> .</p>
<p><a rel="tag" href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3820048">CodeProject</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=235&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/03/24/implementing-j-query-model-popup-plug-in-and-playing-flv-file-in-a-model-popup/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>

		<media:content url="http://kirandangar.files.wordpress.com/2010/03/032410_1307_implementin1.png" medium="image" />
	</item>
		<item>
		<title>Utilizing CSS3 features: Creating interactive and optimized HTML form using CSS3 selectors</title>
		<link>http://kirandangar.wordpress.com/2010/03/04/utilizing-css3-features-creating-interactive-and-optimized-html-form-using-css3-selectors/</link>
		<comments>http://kirandangar.wordpress.com/2010/03/04/utilizing-css3-features-creating-interactive-and-optimized-html-form-using-css3-selectors/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 14:12:06 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Developement]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/03/04/utilizing-css3-features-creating-interactive-and-optimized-html-form-using-css3-selectors/</guid>
		<description><![CDATA[CSS3 gives a great flexibility to designers to create optimized HTML by utilizing CSS3 features. CSS3 selectors gives rich amount of DOM element filtering, which will let designers to minimize inline attributes and inline styles in HTML code. Here I am giving an overview of how to utilize CSS3 to develop an HTML form as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=225&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CSS3 gives a great flexibility to designers to create optimized HTML by utilizing CSS3 features.</p>
<p>CSS3 selectors gives rich amount of DOM element filtering, which will let designers to minimize inline attributes and inline styles in HTML code.</p>
<p>Here I am giving an overview of how to utilize CSS3 to develop an HTML form as shown below.</p>
<p><img class="alignnone" src="http://kirandangar.files.wordpress.com/2010/03/030410_1412_utilizingcs1.png?w=676&#038;h=207" alt="" width="676" height="207" /></p>
<p>We will try to optimize HTML as much as possible by giving all styles and attributes through CSS3 in css file itself.</p>
<p><strong>Form Concept:<br />
</strong></p>
<p>As shown in below screen, we will be dividing form into 4 pieces,</p>
<ol>
<li>Header part (<span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:maroon;">th</span><span style="color:blue;">&gt;</span></span> )</li>
<li>Left side labels (<span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span>)</li>
<li>Right side textbox area (<span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt; &amp; &lt;</span><span style="color:maroon;">input</span><span style="color:maroon;"> </span><span style="color:red;">type</span><span style="color:blue;">=&#8221;text&#8221;</span><span style="color:blue;"> </span><span style="color:blue;">/&gt; </span></span> )</li>
<li>Bottom Buttons (  <span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span><span style="color:maroon;"> </span><span style="color:red;">type</span><span style="color:blue;">=&#8221;submit&#8221;/&gt;</span></span> )</li>
</ol>
<p><img class="alignnone" src="http://kirandangar.files.wordpress.com/2010/03/030410_1412_utilizingcs2.png?w=676&#038;h=207" alt="" width="676" height="207" /></p>
<p><strong>Generating Simple HTML form:<br />
</strong></p>
<p>As shown in below HTML, we will not give any attributes to TABLE or TD.</p>
<p>Just a simple Table with only one class which is assigned to TABLE, like <span style="font-family:Courier New;font-size:10pt;"><span style="color:red;">class</span><span style="color:blue;">=&#8221;tblform&#8221;. </span></span>Very neat HTML without any kind of attributes assigned.</p>
<p><span style="text-decoration:underline;"><strong><em>HTML file code<span style="color:blue;font-family:Courier New;font-size:10pt;"><br />
</span></em></strong></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:maroon;">table </span><span style="color:red;">class</span><span style="color:blue;">=&#8221;tblform&#8221;&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;"><span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">th</span><span style="color:maroon;"> </span><span style="color:red;">colspan</span><span style="color:blue;">=&#8221;2&#8243;&gt;<span style="color:#000000;">Please enter your details below.<span style="color:blue;">&lt;/</span><span style="color:maroon;">th</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;/</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;">Name<span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">input <span style="color:#000000;"><span style="color:red;">type</span><span style="color:blue;">=&#8221;text&#8221;/&gt;<span style="color:#000000;"><span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;/</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;"><span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;">Email<span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">input <span style="color:#000000;"><span style="color:red;">type</span><span style="color:blue;">=&#8221;text&#8221;/&gt;<span style="color:#000000;"><span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;/</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;">Mobile<span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">input <span style="color:#000000;"><span style="color:red;">type</span><span style="color:blue;">=&#8221;text&#8221;/&gt;<span style="color:#000000;"><span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;/</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;"><span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;<span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">input <span style="color:#000000;"><span style="color:red;">type</span><span style="color:blue;">=&#8221;submit&#8221; <span style="color:#000000;"><span style="color:red;">value</span><span style="color:blue;">=&#8221;Submit&#8221;/&gt; <span style="color:#000000;"><span style="color:blue;">&lt;</span><span style="color:maroon;">input <span style="color:#000000;"><span style="color:red;">type</span><span style="color:blue;">=&#8221;submit&#8221; <span style="color:#000000;"><span style="color:red;">value</span><span style="color:blue;">=&#8221;Cancel&#8221;/&gt;<span style="color:#000000;"><span style="color:blue;">&lt;/</span><span style="color:maroon;">td</span><span style="color:blue;">&gt;</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:maroon;">tr</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">&lt;/</span><span style="color:maroon;">table</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><strong>Developing CSS file:<br />
</strong></p>
<p>Once we got the above HTML ready, our all focus will be now on CSS to make it look like as shown in above screen shot,</p>
<p>In HTML there is only 1 CSS class assigned to TABLE which is <span style="color:blue;font-family:Courier New;font-size:10pt;">tblform.<br />
</span></p>
<p>Further will be doing all stuffs in the CSS as given below,</p>
<p><span style="text-decoration:underline;"><strong><em>CSS file code<br />
</em></strong></span></p>
<p><span style="color:maroon;font-family:Courier New;font-size:10pt;">.tblform<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">border-collapse</span>: <span style="color:blue;">collapse</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">width</span>: <span style="color:blue;">100%</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-family</span>: <span style="color:blue;">Calibri</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-size</span>: <span style="color:blue;">11pt</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:maroon;">.tblform</span><span style="color:maroon;"> </span><span style="color:maroon;">td<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">padding</span>: <span style="color:blue;">5px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">border</span>: <span style="color:blue;">solid</span><span style="color:blue;"> </span><span style="color:blue;">1px</span><span style="color:blue;"> </span><span style="color:blue;">#E1E1E1</span>;</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:maroon;">.tblform</span><span style="color:maroon;"> </span><span style="color:maroon;">th<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">padding</span>: <span style="color:blue;">5px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">border</span>: <span style="color:blue;">solid</span><span style="color:blue;"> </span><span style="color:blue;">1px</span><span style="color:blue;"> </span><span style="color:blue;">#E1E1E1</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-weight</span>: <span style="color:blue;">normal</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">text-align</span>: <span style="color:blue;">left</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">background-color</span>: <span style="color:blue;">#E1E1E1</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-weight</span>: <span style="color:blue;">bold</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:maroon;">.tblform</span><span style="color:maroon;"> </span><span style="color:maroon;">td</span><span style="color:maroon;"> </span><span style="color:maroon;">input[type=text]<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">border</span>: <span style="color:blue;">1px</span><span style="color:blue;"> </span><span style="color:blue;">solid</span><span style="color:blue;"> </span><span style="color:blue;">#CCCCCC</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">width</span>: <span style="color:blue;">180px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">height</span>: <span style="color:blue;">20px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">padding-left</span>: <span style="color:blue;">5px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:maroon;">.tblform</span><span style="color:maroon;"> </span><span style="color:maroon;">td:first-child<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">padding</span>: <span style="color:blue;">5px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">border</span>: <span style="color:blue;">solid</span><span style="color:blue;"> </span><span style="color:blue;">1px</span><span style="color:blue;"> </span><span style="color:blue;">#E1E1E1</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">background-color</span>: <span style="color:blue;">#F2F2F2</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:maroon;">.tblform</span><span style="color:maroon;"> </span><span style="color:maroon;">td</span><span style="color:maroon;"> </span><span style="color:maroon;">input[type=submit]</span>, <span style="color:maroon;">.tblform</span><span style="color:maroon;"> </span><span style="color:maroon;">td</span><span style="color:maroon;"> </span><span style="color:maroon;">input[type=submit]:hover<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">background-image</span>: <span style="color:blue;">url(button-bg.gif)</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">background-repeat</span>: <span style="color:blue;">repeat-x</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">line-height</span>: <span style="color:blue;">22px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">height</span>: <span style="color:blue;">25px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-family</span>: <span style="color:blue;">Verdana,</span><span style="color:blue;"> </span><span style="color:blue;">Arial,</span><span style="color:blue;">Helvetica,</span><span style="color:blue;">sans-serif</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-weight</span>: <span style="color:blue;">bold</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">font-size</span>: <span style="color:blue;">11px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">color</span>: <span style="color:blue;">#333333</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">padding</span>: <span style="color:blue;">0px</span><span style="color:blue;"> </span><span style="color:blue;">10px</span><span style="color:blue;"> </span><span style="color:blue;">0px</span><span style="color:blue;"> </span><span style="color:blue;">10px</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">border</span>: <span style="color:blue;">1px</span><span style="color:blue;"> </span><span style="color:blue;">solid</span><span style="color:blue;"> </span><span style="color:blue;">#999999</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"> <span style="color:red;">cursor</span>: <span style="color:blue;">pointer</span><span style="color:blue;"> </span><span style="color:blue;">!important</span>;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p>That&#8217;s it, it will result in a nice form with all CSS applied and HTML will remain neat as it is.</p>
<p><a rel="tag" href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3820048">CodeProject</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=225&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/03/04/utilizing-css3-features-creating-interactive-and-optimized-html-form-using-css3-selectors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>

		<media:content url="http://kirandangar.files.wordpress.com/2010/03/030410_1412_utilizingcs1.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/03/030410_1412_utilizingcs2.png" medium="image" />
	</item>
		<item>
		<title>How to make SQL Server 2005 database empty using cursor &amp; sys.objects (Delete All Tables, stored procedures, views &amp; UDF’s)</title>
		<link>http://kirandangar.wordpress.com/2010/02/24/how-to-make-sql-server-2005-database-empty-using-cursor-sys-objects-delete-all-tables-stored-procedures-views-udf%e2%80%99s/</link>
		<comments>http://kirandangar.wordpress.com/2010/02/24/how-to-make-sql-server-2005-database-empty-using-cursor-sys-objects-delete-all-tables-stored-procedures-views-udf%e2%80%99s/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 08:58:47 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[DBMS]]></category>
		<category><![CDATA[SQL server 2005]]></category>
		<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/02/24/how-to-make-sql-server-2005-database-empty-using-cursor-sys-objects-delete-all-tables-stored-procedures-views-udf%e2%80%99s/</guid>
		<description><![CDATA[Understanding sys.objects: Sys.objects is a system VIEW in SQL Server 2005, for each SQL database there is a separate sys.object view which gets stored within databse itself. Using Sys.objects returns list of all database objects and its types, type can be either of given below: DB OBJECT TYPES F     FOREIGN_KEY_CONSTRAINT IT    INTERNAL_TABLE PK    PRIMARY_KEY_CONSTRAINT S     SYSTEM_TABLE SQ    SERVICE_QUEUE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=216&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Understanding </strong><em><strong><span style="text-decoration:underline;">s</span></strong></em><em><strong><span style="text-decoration:underline;">ys.objects</span></strong></em>:</p>
<p><strong><em>Sys.objects</em></strong> is a system VIEW in SQL Server 2005, for each SQL database there is a separate <strong>sys.object </strong>view which gets stored within databse itself.</p>
<p>Using <strong><em>Sys.objects</em></strong> returns list of all database objects and its types, type can be either of given below:</p>
<p><span style="text-decoration:underline;"><strong>DB OBJECT TYPES<br />
</strong></span></p>
<p>F     FOREIGN_KEY_CONSTRAINT</p>
<p>IT    INTERNAL_TABLE</p>
<p>PK    PRIMARY_KEY_CONSTRAINT</p>
<p>S     SYSTEM_TABLE</p>
<p>SQ    SERVICE_QUEUE</p>
<p>U     USER_TABLE</p>
<p>V     VIEW</p>
<p><strong><em>How to DELETE all User Tables , stored procedures , UDF&#8217;s and Views using </em></strong><strong><em>cursor</em></strong><strong><br />
</strong> <span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;"> </span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">Use</span> [database name]<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">declare</span> @q<span style="color:blue;"> </span><span style="color:blue;">nvarchar</span><span style="color:gray;">(</span><span style="color:fuchsia;">max</span><span style="color:gray;">)<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">declare</span> @name <span style="color:blue;">nvarchar</span><span style="color:gray;">(</span><span style="color:fuchsia;">max</span><span style="color:gray;">);<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">declare</span> @type <span style="color:blue;">nvarchar</span><span style="color:gray;">(</span><span style="color:fuchsia;">max</span><span style="color:gray;">);<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">declare</span> cur <span style="color:blue;">cursor</span><span style="color:blue;"> </span><span style="color:blue;">for</span><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">select</span><span style="color:blue;"> </span><span style="color:blue;">name</span><span style="color:blue;"> </span><span style="color:gray;">,</span><span style="color:blue;">type</span><span style="color:blue;"> </span><span style="color:blue;">from</span><span style="color:blue;"> </span><span style="color:green;">sys.objects</span><span style="color:green;"> </span><span style="color:blue;">where </span><span style="color:blue;">type</span><span style="color:blue;"> </span><span style="color:gray;">in(</span><span style="color:red;">&#8216;p&#8217;</span><span style="color:gray;">,</span><span style="color:red;">&#8216;fn&#8217;</span><span style="color:gray;">,</span><span style="color:red;">&#8216;v&#8217;</span><span style="color:gray;">,</span><span style="color:red;">&#8216;u&#8217;</span><span style="color:gray;">);<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">open</span> cur<span style="color:gray;">;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">fetch</span> next <span style="color:blue;">from</span> cur <span style="color:blue;">into</span> @name<span style="color:gray;">,</span>@type<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">while</span><span style="color:blue;"> </span><span style="color:fuchsia;">@@fetch_status</span><span style="color:fuchsia;"> </span><span style="color:gray;">=</span> 0<br />
</span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">begin<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">if</span><span style="color:gray;">(</span>@type<span style="color:gray;">=</span><span style="color:red;">&#8216;p&#8217;</span><span style="color:gray;">)<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">begin<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">set</span> @q<span style="color:gray;">=</span>N<span style="color:red;">&#8216;drop procedure &#8216;</span><span style="color:red;"> </span><span style="color:gray;">+</span> @name<span style="color:gray;">;<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">end<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">if</span><span style="color:gray;">(</span>@type<span style="color:gray;">=</span><span style="color:red;">&#8216;fn&#8217;</span><span style="color:gray;">)<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">begin<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">set</span> @q<span style="color:gray;">=</span>N<span style="color:red;">&#8216;drop function &#8216;</span><span style="color:red;"> </span><span style="color:gray;">+</span> @name<span style="color:gray;">;<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">end<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">if</span><span style="color:gray;">(</span>@type<span style="color:gray;">=</span><span style="color:red;">&#8216;v&#8217;</span><span style="color:gray;">)<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">begin<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">set</span> @q<span style="color:gray;">=</span>N<span style="color:red;">&#8216;drop view &#8216;</span><span style="color:red;"> </span><span style="color:gray;">+</span> @name<span style="color:gray;">;<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">end<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">if</span><span style="color:gray;">(</span>@type<span style="color:gray;">=</span><span style="color:red;">&#8216;u&#8217;</span><span style="color:gray;">)<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">begin<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">set</span> @q<span style="color:gray;">=</span>N<span style="color:red;">&#8216;drop table &#8216;</span><span style="color:red;"> </span><span style="color:gray;">+</span> @name<span style="color:gray;">;<br />
</span></span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">end<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">exec</span><span style="color:blue;"> </span><span style="color:maroon;">sp_executesql</span> @q<span style="color:gray;">;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">fetch</span> next <span style="color:blue;">from</span> cur <span style="color:blue;">into</span> @name<span style="color:gray;">,</span>@type<br />
</span></p>
<p><span style="color:blue;font-family:Courier New;font-size:10pt;">end<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">close</span> cur<span style="color:gray;">;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">deallocate</span> cur<span style="color:gray;">;</span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=216&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/02/24/how-to-make-sql-server-2005-database-empty-using-cursor-sys-objects-delete-all-tables-stored-procedures-views-udf%e2%80%99s/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick oops concept reference: Definitions of object oriented programming terms</title>
		<link>http://kirandangar.wordpress.com/2010/02/06/quick-oops-concept-reference-definitions-of-object-oriented-programming-terms/</link>
		<comments>http://kirandangar.wordpress.com/2010/02/06/quick-oops-concept-reference-definitions-of-object-oriented-programming-terms/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:32:58 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OOPS]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/02/06/quick-oops-concept-reference-definitions-of-object-oriented-programming-terms/</guid>
		<description><![CDATA[Encapsulation: is an ability of hiding data or methods from the rest of the world. Inheritance: is a concept of passing and using attributes of base class into derived class. Polymorphism: single name – multiple use, it can be achieved via Function overloading &#38; operator overloading. Class &#38; object: a class is a definition which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=212&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Encapsulation: </strong>is an ability of hiding data or methods from the rest of the world.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Inheritance: </strong>is a concept of passing and using attributes of base class into derived class.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Polymorphism: </strong>single name – multiple use, it can be achieved via Function overloading &amp; operator overloading.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Class &amp; object: </strong>a class is a definition which describes all attributes of entity or an object. And object is an instance of a class.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Overloading: </strong>is the concept of using function or class with same name but different implementation by changing types of parameters<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Static </strong>or<strong> shared: </strong>a keyword to define static class, members of static class doesn&#8217;t require creating instance of that class.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Virtual: </strong>indicated that this base class method is to be overridden. [Without specifying virtual keyword also method can be override, but it makes code more understandable]<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Sealed: </strong>indicates that this base class method not to be override.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Overriding: </strong>is a concept of implementing a method in derived class with same definition of the base class method<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Shadowing: </strong>without overriding a method derived class can do new implementation where parameters, return type &amp; access modifier may differ from the base class implementation, <strong>Shadow</strong> is the keyword in C#<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Constructor: </strong>is a method with same name as class, it gives a way to initiate the class members to default values at the time of object creation, automatically calls whenever class object is created<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Static constructor: </strong>a type of constructor, calls at the first time object creation.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Serialization: </strong>is the process of converting object into a stream of bytes. De-serialization is the reverse process.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Delegate: </strong>holds a reference to a function. Type safe pointer<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Multicast delegate: </strong>holds reference to multiple functions, its return type must be void.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Interface &amp; Abstract:<br />
</strong></span></p>
<div>
<table style="border-collapse:collapse;" border="0">
<col></col>
<col></col>
<tbody>
<tr style="height:10px;">
<td style="padding-left:7px;padding-right:7px;border:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Abstract class</strong></span></td>
<td style="padding-left:7px;padding-right:7px;border-top:dotted .5pt;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Interface</strong></span></td>
</tr>
<tr style="height:10px;">
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">Is a class to provide common fields/members to subclasses</span></td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">Is a collection of member definitions to be implemented in derived class</span></td>
</tr>
<tr style="height:10px;">
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">a class can inherit only 1 abstract class</span></td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">A class can implement many interface</span></td>
</tr>
<tr style="height:10px;">
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">Members of abstract class can have any access modifier</span></td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">All members are only public by default, it can&#8217;t be changed</span></td>
</tr>
<tr style="height:10px;">
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">Abstract class method may or may not have implementation</span></td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"><span style="color:#333333;font-family:Verdana;font-size:9pt;">Interface can have only definition of methods, no implementation</span></td>
</tr>
<tr style="height:10px;">
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;"></td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"></td>
</tr>
</tbody>
</table>
</div>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=212&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/02/06/quick-oops-concept-reference-definitions-of-object-oriented-programming-terms/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick DBMS reference: Single line definitions of important SQL Server terms</title>
		<link>http://kirandangar.wordpress.com/2010/02/04/quick-dbms-reference-single-line-definitions-of-important-sql-server-terms/</link>
		<comments>http://kirandangar.wordpress.com/2010/02/04/quick-dbms-reference-single-line-definitions-of-important-sql-server-terms/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 16:01:44 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[DBMS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[SQL server 2005]]></category>
		<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/02/04/a-quick-dbms-reference-single-line-definitions-of-important-sql-server-terms/</guid>
		<description><![CDATA[Normalization: is a process of organizing data and minimizing redundancy De-normalization: is a technique to move from higher to lower normal forms of database modeling in order to speed up database access. Stored Procedure: is a named group of T-SQL statements which can be created and stored in Database as an object. Primary Key: is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=206&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Normalization: </strong>is a process of organizing data and minimizing redundancy<strong><br />
</strong></span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>De-normalization: </strong>is a technique to move from higher to lower normal forms of database modeling in order to speed up database access.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Stored Procedure: </strong>is a named group of T-SQL statements which can be created and stored in Database as an object.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Primary Key: </strong>is a unique identifier of a row in a DB table, [it can't be NULL]<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Unique key: </strong>forces uniqueness to a respective table column, [it can be NULL]<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Foreign Key: </strong>a foreign key in 1 table refers to the primary key in other table, Used to force referential integrity.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Inner join: </strong>exists in both tables<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Left Outer join: </strong>all records from left side table + matched rows from right side table (totals number of rows will be same as left table)<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Right Outer join: </strong>all records from right side table + matched rows from left side table (totals number of rows will be same as right table), it&#8217;s a mirror image of left outer join<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Full Outer join: </strong>all records from left side table + all records from right side table, weather matched or not<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Cross join: </strong>returns [left table rows * right table rows], a Cartesian product of both tables<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Self join: </strong>when table joins to itself using diff aliases to avoid confusion<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Union: </strong>selects only distinct records from both tables<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Union all: </strong>selects all records from both tables<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>View: </strong>is a subset of a table, can be used to retrieve data, insert or Update data. Can contain multiple select statements inside<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Trigger: </strong>A trigger is a SQL procedure that initiates an action when an event (INSERT, DELETE or UPDATE) occurs.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Cursor: </strong>is a database object used to loop trough records on row by row bases.<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Index: </strong>pointers to data records, represents structure of how data get stored physically in a table<br />
</span></p>
<div>
<table style="border-collapse:collapse;" border="0">
<col></col>
<col></col>
<tbody>
<tr>
<td style="padding-left:7px;padding-right:7px;border:dotted .5pt;"><strong>Clustered index</strong></td>
<td style="padding-left:7px;padding-right:7px;border-top:dotted .5pt;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"><strong>Non clustered index</strong></td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;">Reorders physical data stored in table</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;">It contains pointers to data rows</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;">A table can have Only 1 clustered index</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;">A table can have one OR many  non-clustered index</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;">Table is having By default a clustered index</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;"></td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:dotted .5pt;border-bottom:dotted .5pt;border-right:dotted .5pt;">Leaf nodes contains data</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:dotted .5pt;border-right:dotted .5pt;">Leaf nodes contains reference to data</td>
</tr>
</tbody>
</table>
</div>
<p><strong>Linked server: </strong>is a concept of adding other remote server to a group to query DB&#8217;s of both servers together</p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Collation: </strong>set of rules that determines how data stores &amp; compares in database<br />
</span></p>
<p><span style="color:#333333;font-family:Verdana;font-size:9pt;"><strong>Collation types: </strong>case sensitive, accent sensitive, kana sensitive, width sensitive</span><strong><br />
</strong></p>
<p><strong>Data ware housing: </strong></p>
<ol>
<li>Record should Never delete from DB</li>
<li>All records must be linked</li>
<li>Once committed records should be read-only</li>
<li>All changes made must be tracked with time</li>
</ol>
<p><strong>User defined function (UDF): </strong>is a bunch of T-SQL statements which accepts 0 or more parameters and returns a scalar data value or table.</p>
<p><strong>DDL:</strong> data definition language – e.g. <strong>TRUNCATE</strong> command is a DDL command</p>
<p><strong>DML:</strong> data manipulation language – e.g. <strong>INSERT</strong>, <strong>UPDATE</strong> &amp; <strong>DELETE</strong> are DML commands</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=206&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/02/04/quick-dbms-reference-single-line-definitions-of-important-sql-server-terms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding asp.net MVC (Model View Controller) architecture</title>
		<link>http://kirandangar.wordpress.com/2010/01/26/understanding-asp-net-mvc-model-view-controller-architecture/</link>
		<comments>http://kirandangar.wordpress.com/2010/01/26/understanding-asp-net-mvc-model-view-controller-architecture/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:18:50 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net MVC]]></category>
		<category><![CDATA[C#.net]]></category>
		<category><![CDATA[Web Developement]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/01/26/understanding-asp-net-mvc-model-view-controller-architecture/</guid>
		<description><![CDATA[This article is intended to provide basic concept and fundamentals of asp.net MVC (Model View Controller) architecture workflow for beginners. Introduction: &#8220;M&#8221; &#8220;V&#8221; &#8220;C&#8221; stands for &#8220;MODEL&#8221; &#8220;VIEW&#8221; &#8220;CONTROLLER&#8221; , asp.net MVC is an architecture to develop asp.net web applications in a different manner than the traditional asp.net web development , web applications developed with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=183&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article is intended to provide basic concept and fundamentals of asp.net MVC (Model View Controller) architecture workflow for beginners.</p>
<p><span style="color:#c0504d;text-decoration:underline;">Introduction:<br />
</span></p>
<p>&#8220;M&#8221;  &#8220;V&#8221;   &#8220;C&#8221;  stands for &#8220;MODEL&#8221;  &#8220;VIEW&#8221; &#8220;CONTROLLER&#8221; , asp.net MVC is an architecture to develop asp.net web applications in a different manner than the traditional asp.net web development , web applications developed with asp.net MVC is even more SEO (Search Engine Friendly ) friendly.</p>
<p>Developing asp.net MVC application requires Microsoft .net framework 3.5 or higher.</p>
<p><span style="color:#c0504d;text-decoration:underline;">MVC interaction with browser:<br />
</span></p>
<p>Like a normal web server interaction, MVC application also accept request and respond web browser same way.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/012610_1218_understandi11.png?w=500" alt="" /></p>
<p><span style="color:#c0504d;text-decoration:underline;">Inside MVC architecture:<br />
</span></p>
<p>Whole asp.net MVC architecture is based on Microsoft .net framework 3.5 and in addition uses LINQ to SQL Server.</p>
<p><strong>What is a Model? </strong></p>
<ol>
<li>MVC <strong>model</strong> is basically a C# or VB.net class</li>
<li>A <strong>model</strong> is accessible by both <strong>controller</strong> and <strong>view</strong></li>
<li>A <strong>model</strong> can be used to pass data from <strong>Controller</strong> to <strong>view</strong>.</li>
<li>A <strong>view</strong> can use model to display data in page.</li>
</ol>
<p><strong>What is a View?<br />
</strong></p>
<ol>
<li>View is an ASPX page without having a code behind file</li>
<li>All page specific HTML generation and formatting can be done inside view</li>
<li>One can use Inline code (server tags ) to develop dynamic pages</li>
<li>A request to <strong>view</strong> (ASPX page) can be made only from a controller&#8217;s action method</li>
</ol>
<p><strong>What is a Controller?<br />
</strong></p>
<ol>
<li><strong>Controller</strong> is basically a C# or VB.net class which inherits <strong>system.mvc.controller</strong></li>
<li><strong>Controller</strong> is a heart of whole MVC architecture</li>
<li>Inside<strong> Controller&#8217;s class </strong>action methods can be implemented which is responsible for responding to browser OR calling view&#8217;s.<strong><br />
</strong></li>
<li><strong>Controller</strong> can access and use <strong>model</strong> class to pass data to <strong>view&#8217;s<br />
</strong></li>
<li><strong>Controller </strong>uses <strong>ViewData </strong>to pass any data to <strong>view</strong></li>
</ol>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/012610_1218_understandi21.png?w=500" alt="" /></p>
<h3><span style="color:#c0504d;text-decoration:underline;">MVC file structure &amp; file naming standards<br />
</span></h3>
<p>MVC uses a standard directory structure and file naming standards which is very important part of MVC application development.</p>
<p>Inside the ROOT directory of the application there must be 3 directories each for model, view and Controller.</p>
<p>Apart from 3 directories there must have a <strong>Global.asax </strong>file in root folder. And a web.config like a traditional asp.net application.</p>
<ul>
<li>
<div><strong>Root </strong>[directory]<strong><br />
</strong></div>
<ul>
<li>
<div><strong>Controller</strong> [directory]</div>
<ul>
<li>Controller CS files</li>
</ul>
</li>
<li>
<div><strong>Models</strong> [directory]</div>
<ul>
<li>Model CS files</li>
</ul>
</li>
<li>
<div><strong>Views </strong>[directory]<strong><br />
</strong></div>
<ul>
<li>View CS files<strong><br />
</strong></li>
</ul>
</li>
<li>Global.asax</li>
<li>Web.config</li>
</ul>
</li>
</ul>
<p><span style="color:#c0504d;text-decoration:underline;">Asp.net MVC Execution life cycle<br />
</span></p>
<p>Here is how MVC architecture executes the requests to browser and objects interactions with each other.</p>
<p>A step by step process is explained below:  <strong>[Refer figure as given below]</strong></p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/012610_1218_understandi31.png?w=500" alt="" /></p>
<p><span style="color:#0070c0;"><strong>Step 1: </strong><strong>Browser request</strong><br />
</span></p>
<p>Browser request happens with a specific URL. Let&#8217;s assume that user entering URL like: [xyz.com]/home/index/</p>
<p><span style="color:#0070c0;"><strong>Step 2:  Job of Global.asax &#8211; MVC routing<br />
</strong></span></p>
<p>The specified URL will first get parsed via application_start() method inside Global.asax file. From the requested URL it will parse the <strong>Controller, Action and ID.<br />
</strong></p>
<p>So for [xyz.com]/home/index/:</p>
<p>Controller = home</p>
<p>Action = index()</p>
<p>ID = empty  &#8212; we have not specified ID in [xyz.com]/home/index/, so it will consider as empty string</p>
<p><span style="color:#0070c0;"><strong>Step 3:  Controller and Action methods<br />
</strong></span></p>
<p>MVC now find the <strong>home controller</strong> class in controller directory.  A controller class contains different action methods,</p>
<p>There can be more than one action method, but MVC will only invokes the action method which is been parsed from the URL, its index() in our case.</p>
<p>So something like: <strong>homeController.index() </strong>will happen inside MVC controller class.</p>
<p>Invoking action method can return plain text string OR rendered HTML by using view.</p>
<p><span style="color:#0070c0;"><strong>Step 4:  Call to View (ASPX page)<br />
</strong></span></p>
<p>Invoking view will return <strong>view()</strong> . a call to view will access the particular ASPX page inside the view directory and generate the rendered HTML from the ASPX and will respond back to the browser.</p>
<p>In our case controller was <strong>home </strong>and action was <strong>index().</strong> So calling view() will return a rendered HTML from the ASPX page located at <strong>/views/home/index.aspx.<br />
</strong></p>
<p><strong>This is it, the whole process ends here. So this is how MVC architecture works. </strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=183&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/01/26/understanding-asp-net-mvc-model-view-controller-architecture/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/012610_1218_understandi11.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/012610_1218_understandi21.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/012610_1218_understandi31.png" medium="image" />
	</item>
		<item>
		<title>How to connect/access remote SQL Server 2005 database via CC Proxy</title>
		<link>http://kirandangar.wordpress.com/2010/01/19/how-to-connectaccess-remote-sql-server-2005-database-via-cc-proxy/</link>
		<comments>http://kirandangar.wordpress.com/2010/01/19/how-to-connectaccess-remote-sql-server-2005-database-via-cc-proxy/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 07:45:19 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[SQL server 2005]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/01/19/how-to-connectaccess-remote-sql-server-2005-database-via-cc-proxy/</guid>
		<description><![CDATA[Most of organizations use proxy server shared internet connection for their internal network. Browsing websites via proxy server requires few settings in browser itself where we set proxy server IP and port to 8080 which is default port, doing so is enough for any 1 to surf internet. But as an SQL server database programmers/developers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=168&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most of organizations use proxy server shared internet connection for their internal network. Browsing <a href="http://www.dhanashree.com/web-development-services/asp-php-web-development">websites</a> via proxy server requires few settings in browser itself where we set proxy server IP and port to 8080 which is default port, doing so is enough for any 1 to surf internet. But as an SQL server <a href="http://www.dhanashree.com/web-development-services/asp-php-web-development/dot-net-web-designing">database programmers</a>/<a href="http://www.dhanashree.com/web-development-services/dedicated-php-dotnet-developer/dedicated-asp-net-developer">developers</a> uses SQL server management studio to connect to remote database from their client computers. Problem arises when a <a href="http://www.dhanashree.com/web-development-services/dedicated-php-dotnet-developer/dedicated-php-developer">developer</a> tries to connect a remote database server through SQL server management studio but CC Proxy won&#8217;t allow connecting to database directly even if developer uses all details correctly.</p>
<p><strong>Why is SQL server management studio not able to connect a remote database?<br />
</strong></p>
<p>A very basic thing about proxy server is that all client computers must have to pass all requests to proxy server IP, requests may be from internet browser Or FTP client Or even if its SQL server management studio.</p>
<p>So now if we try to connect a database with original details, proxy server (say proxy server IP is : 48.152.16.36 ) will not allow connecting to database using original Host name.</p>
<p>Because proxy cannot process any request directly, it must come to Proxy server IP first which is 48.152.16.36 (this is a dummy IP, I have used).</p>
<p><strong>How to solve the problem:<br />
</strong></p>
<p>Solution is simple; we just have to follow 2 steps as described below. Here we will be configuring CC proxy, SQL server management studio &amp; SQL server configuration manager.</p>
<p><strong>Step 1: Client side settings<br />
</strong></p>
<p>Say for example we have following database server details:</p>
<p>Server name : hostname</p>
<p>Login ID : username</p>
<p>Password : password</p>
<p>Port : 1433 [ SQL server uses 1433 port by default, in case if its different then we have to do settings in CC proxy accordingly  ]</p>
<p>Traditionally we use above given details directly to connect, if we connect from SSMS (SQL server management studio), it will take user to the screen as shown blow.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011910_0745_howtoconnec11.png?w=500" alt="" /></p>
<p>Now in above screen if we use <strong>Server name:</strong><br />
<strong>hostname </strong>then proxy will not process the request and SSMS will fail to connect to database server.</p>
<p>So rather than providing <strong>Server name:</strong><br />
<strong>hostname </strong>we have to set CC Proxy&#8217;s server IP which is <strong>48.152.16.36. </strong>But only this much will not work, because we also need to request CC proxy to a specific port which is not used anywhere else in proxy server. So we will use any port, say we use <strong>PORT: 1444 </strong>instead<strong> 1433</strong> which is default port in SQL server.</p>
<p>So now in above screen we have to set [<strong>Server name: 48.152.16.36, 1444] </strong>by keeping userID password as it is.</p>
<p>Ok so we are now done with client side settings. But this much will also not work as we have to do few <strong>port map settings in CC proxy</strong> on server as well.</p>
<p><strong>Step 2: Proxy server side settings<br />
</strong></p>
<p>Setting up above step 1 setting in client machine will now request proxy server with the port <strong>1444</strong>. So we have to define a PORT MAP setting in CC proxy for <strong>port: 1444.<br />
</strong></p>
<p>Below are the steps to follow for port map settings:</p>
<ol>
<li>Open CC proxy 6.0</li>
<li>Go to <strong>OPTIONS</strong></li>
<li>Click on<strong> port map, </strong>it will take you to the screen as shown below</li>
</ol>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011910_0745_howtoconnec21.png?w=500" alt="" /></p>
<p style="margin-left:72pt;">
<p style="margin-left:36pt;">In above screen set the following:</p>
<p style="margin-left:36pt;"><strong> Dest Host : hostname<br />
</strong></p>
<p style="margin-left:36pt;"><strong> Port type :  TCP<br />
</strong></p>
<p style="margin-left:36pt;"><strong> Local Port : 1444<br />
</strong></p>
<p style="margin-left:36pt;"><strong> Dest Port :  1433<br />
</strong></p>
<p style="margin-left:36pt;">
<p style="margin-left:36pt;">Save all above details , and we are done.</p>
<p>After this step all client machines must have to connect to database server using Proxy server IP only with a specific port ( in our case its 1444, however we can use any port but it should not be used anywhere else in proxy server).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=168&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/01/19/how-to-connectaccess-remote-sql-server-2005-database-via-cc-proxy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011910_0745_howtoconnec11.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011910_0745_howtoconnec21.png" medium="image" />
	</item>
		<item>
		<title>How to publish a blog article via MS word 2007</title>
		<link>http://kirandangar.wordpress.com/2010/01/12/how-to-publish-a-blog-article-via-ms-word-2007-2/</link>
		<comments>http://kirandangar.wordpress.com/2010/01/12/how-to-publish-a-blog-article-via-ms-word-2007-2/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 12:47:43 +0000</pubDate>
		<dc:creator>Kiran Dangar</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[MS Office 2007]]></category>
		<category><![CDATA[MS word 2007]]></category>

		<guid isPermaLink="false">http://kirandangar.wordpress.com/2010/01/12/how-to-publish-a-blog-article-via-ms-word-2007-2/</guid>
		<description><![CDATA[It always becomes a headache for any blog writers while publishing any article with a rich formatting like a word document, with lots of pictures added inside the blog post. For all the bloggers like me who have faced problem of rich formatting while posting an article in blog, so guys here is the easiest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=142&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It always becomes a headache for any blog writers while publishing any article with a rich formatting like a word document, with lots of pictures added inside the blog post.</p>
<p>For all the bloggers like me who have faced problem of rich formatting while posting an article in blog, so guys here is the easiest way to publish your well formatted articles from MS word 2007 itself , even without going to your Blog&#8217;s dashboard <span style="font-family:Wingdings;">J</span></p>
<p>Microsoft word 2007 is providing a great functionality of publishing your fully formatted word document direct to your blog from word 2007 itself. And it&#8217;s even easier from the traditional way.</p>
<p>Here are the few steps you have to follow and you are DONE!!</p>
<p><span style="color:#c0504d;font-size:16pt;text-decoration:underline;">Creating Blog article in word </span></p>
<p><strong>Step 1: CREATING A NEW WORD BLOG POST<br />
</strong></p>
<p>Open MS word 2007, go to menu and select <strong>NEW,<br />
</strong></p>
<p>You will get the screen as shown below. Now choose &#8220;<strong>New blog post</strong>&#8221; as the RED arrow indicates below.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis15.png?w=500" alt="" /></p>
<p><strong>Step 2:  WRITING A BLOG POST<br />
</strong></p>
<p>Once you choose new blog post you will find the screen as shown below.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis21.png?w=500" alt="" /></p>
<p>Now just like we prepare a word document prepare your full article here, with all formatting and pictures added.</p>
<p><strong>Step 3:  SETTING BLOG POST TITLE<br />
</strong></p>
<p>As shown in below screen shot set your article title at marked place.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis31.png?w=500" alt="" /></p>
<p><span style="color:#c0504d;font-size:16pt;text-decoration:underline;">Publishing Blog article to your wordpress blog<br />
</span></p>
<p><strong>Step 1:  REGISTER YOUR BLOG ACCOUNT IN WORD 2007<br />
</strong></p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis41.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p>As show in above picture, clicking on PUBLISH will ask you to register your existing blog account by using Blog URL and username/password.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis51.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p><strong>CHOOSE YOUR BLOG PROVIDER as shown below. – I have configured with my wordpress Blog</strong><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis61.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p>Fill out all your blog details as shown below.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis71.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p>After submitting above form MS word will validate the details, after verification it will pop up a success message as given in below screen.</p>
<p>With above step now your Blog account got registered in MS word 2007. <span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis81.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p>Next to this step it will again ask for your blog&#8217;s admin username/password to publish the blog on your original blog account.</p>
<p>Finally you will get your article posted onto your blog and will get the message as shown below.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis91.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p><span style="color:#c0504d;font-size:16pt;text-decoration:underline;">Managing blog accounts and setting article categories in wordpress article<br />
</span></p>
<p>Later on whenever you use word for publishing your blog articles, you will get your account registered and you can manage all your blog accounts as shown below. And also can mark any blog as default.</p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis101.png?w=500" alt="" /><span style="color:#c0504d;font-size:16pt;text-decoration:underline;"><br />
</span></p>
<p><strong>INSERT ARTICLE CATEGORIES IN BLOG POST<br />
</strong></p>
<p>Again setting categories for your blog post is been very easy, all you have to do is just click on &#8220;<strong>insert category</strong>&#8221; button as shown below</p>
<p><strong>It will show a full list of all your wordpress blog existing categories in a drop down.<br />
</strong></p>
<p><strong>You can also type any new category over here if not in list of existing.<br />
</strong></p>
<p><img src="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis111.png?w=500" alt="" /><strong><br />
</strong></p>
<p><span style="color:#1d1b11;"><strong>For this article I have given example of WORD PRESS blog, but we can also configure for other blog providers like blogger etc&#8230;<br />
</strong></span></p>
<p><span style="color:#1d1b11;"><strong>!!! ENJOY BLOGGING!!! <span style="font-family:Wingdings;">J</span></strong></span></p>
<p><a rel="tag" href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3820048">CodeProject</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirandangar.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirandangar.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirandangar.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirandangar.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirandangar.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirandangar.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirandangar.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirandangar.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirandangar.wordpress.com&amp;blog=10556746&amp;post=142&amp;subd=kirandangar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirandangar.wordpress.com/2010/01/12/how-to-publish-a-blog-article-via-ms-word-2007-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>22.262313 70.795949</georss:point>
		<geo:lat>22.262313</geo:lat>
		<geo:long>70.795949</geo:long>
		<media:content url="http://0.gravatar.com/avatar/034fcba2f75894afc6a6bf09a205a0e2?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">kiran</media:title>
		</media:content>

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis15.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis21.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis31.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis41.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis51.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis61.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis71.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis81.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis91.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis101.png" medium="image" />

		<media:content url="http://kirandangar.files.wordpress.com/2010/01/011210_1245_howtopublis111.png" medium="image" />
	</item>
	</channel>
</rss>
