<?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>Mayank 's Blog</title>
	<atom:link href="http://mkchampaneri.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mkchampaneri.wordpress.com</link>
	<description>The people who can see invisible can do Impossible..</description>
	<lastBuildDate>Sat, 12 Jan 2008 06:15:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mkchampaneri.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mayank 's Blog</title>
		<link>http://mkchampaneri.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mkchampaneri.wordpress.com/osd.xml" title="Mayank &#039;s Blog" />
	<atom:link rel='hub' href='http://mkchampaneri.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Access Return value of Stored Procedure in SubSonic.</title>
		<link>http://mkchampaneri.wordpress.com/2008/01/12/access-return-value-of-stored-procedure-in-subsonic/</link>
		<comments>http://mkchampaneri.wordpress.com/2008/01/12/access-return-value-of-stored-procedure-in-subsonic/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 06:15:02 +0000</pubDate>
		<dc:creator>mkchampaneri</dc:creator>
				<category><![CDATA[SubSonic]]></category>

		<guid isPermaLink="false">http://mkchampaneri.wordpress.com/2008/01/12/access-return-value-of-stored-procedure-in-subsonic/</guid>
		<description><![CDATA[&#160; To access return value of stored procedure in subsonic you need to add return parameter in stored procedure. You can add return parameters to SP using AddReturnParameter method of stored prodecedure’s command object E.g.SpObj.command.AddReturnParameter(); Folowing is the chunk of &#8230; <a href="http://mkchampaneri.wordpress.com/2008/01/12/access-return-value-of-stored-procedure-in-subsonic/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=11&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp; </p>
<p>To access return value of stored procedure in subsonic you need to add return parameter in stored procedure. You can add return parameters to SP using AddReturnParameter method of stored prodecedure’s command object E.g.<b>SpObj.command.</b><b>AddReturnParameter();</b> </p>
<p>Folowing is the chunk of code for the same. </p>
<p>StoredProcedure objusptest = SPs.UspTest(); </p>
<p>objusptest.Command.AddReturnParameter(); </p>
<p>objusptest.Execute(); </p>
<p>string strResult=objusptest.Command.Parameters.Find(delegate (QueryParameter objQryPera) </p>
<p>{ </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return objQryPera.Mode==ParameterDirection.ReturnValue; </p>
<p>}).ParameterValue.ToString() </p>
<p>In above code I have used SP UspTest that returns a value, and then I have added return parameter using objusptest.Command.AddReturnParameter();. </p>
<p>After executing SP using objusptest.Execute(); it adds return perameter in perameters list. </p>
<p>I have used Find method to find parameter of return type and then access ParameterValue property to access value of return parameter of SP.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mkchampaneri.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mkchampaneri.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mkchampaneri.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mkchampaneri.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mkchampaneri.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mkchampaneri.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mkchampaneri.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mkchampaneri.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mkchampaneri.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mkchampaneri.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=11&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mkchampaneri.wordpress.com/2008/01/12/access-return-value-of-stored-procedure-in-subsonic/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/57427de5a48742180169ae110a00152e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mkchampaneri</media:title>
		</media:content>
	</item>
		<item>
		<title>Access OutPut Parameters of Stored Procedure using SubSonic.</title>
		<link>http://mkchampaneri.wordpress.com/2008/01/09/access-output-parameters-of-stored-procedure-using-subsonic/</link>
		<comments>http://mkchampaneri.wordpress.com/2008/01/09/access-output-parameters-of-stored-procedure-using-subsonic/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 06:39:08 +0000</pubDate>
		<dc:creator>mkchampaneri</dc:creator>
				<category><![CDATA[SubSonic]]></category>
		<category><![CDATA[Access OutPut Parameters of Stored Procedure using SubS]]></category>

		<guid isPermaLink="false">http://mkchampaneri.wordpress.com/2008/01/09/access-output-parameters-of-stored-procedure-using-subsonic/</guid>
		<description><![CDATA[&#160; You can acess OuPut perametes of SP in SubSonic using StoredProcedure.OutputValues; Folowing is the chunk of code to access OutPut parameters of SP, here i have sued SP &#8220;UspTestOutPut&#8221;. StoredProcedure s = SPs.UspTestOutPut(&#8220;10&#8243;, &#8220;15&#8243;);s.Execute();s.OutputValues.ForEach(delegate(object objOutput){&#160;&#160;&#160;&#160;&#160; Response.Write(&#8220;OutPutValues=&#8221;+objOutput.ToString());});<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=9&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>You can acess OuPut perametes of SP in SubSonic using StoredProcedure.OutputValues;</p>
<p>Folowing is the chunk of code to access OutPut parameters of SP, here i have sued SP &#8220;UspTestOutPut&#8221;.</p>
<p>StoredProcedure s = SPs.UspTestOutPut(&#8220;10&#8243;, &#8220;15&#8243;);<br />s.Execute();<br />s.OutputValues.ForEach(delegate(object objOutput)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write(&#8220;OutPutValues=&#8221;+objOutput.ToString());<br />});</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mkchampaneri.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mkchampaneri.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mkchampaneri.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mkchampaneri.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mkchampaneri.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mkchampaneri.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mkchampaneri.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mkchampaneri.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mkchampaneri.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mkchampaneri.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=9&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mkchampaneri.wordpress.com/2008/01/09/access-output-parameters-of-stored-procedure-using-subsonic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/57427de5a48742180169ae110a00152e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mkchampaneri</media:title>
		</media:content>
	</item>
		<item>
		<title>To Enable Disable validation control from java script.</title>
		<link>http://mkchampaneri.wordpress.com/2007/07/15/to-enable-disable-validation-control-from-java-script/</link>
		<comments>http://mkchampaneri.wordpress.com/2007/07/15/to-enable-disable-validation-control-from-java-script/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 09:50:51 +0000</pubDate>
		<dc:creator>mkchampaneri</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mkchampaneri.wordpress.com/2007/07/15/to-enable-disable-validation-control-from-java-script/</guid>
		<description><![CDATA[To enable validator control use   validatorEnable(validatorcontrol,true) to disable use validatorEnable(validatorcontrol,false);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=5&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To enable validator control use   validatorEnable(validatorcontrol,true) to disable use validatorEnable(validatorcontrol,false);</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mkchampaneri.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mkchampaneri.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mkchampaneri.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mkchampaneri.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mkchampaneri.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mkchampaneri.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mkchampaneri.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mkchampaneri.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mkchampaneri.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mkchampaneri.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=5&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mkchampaneri.wordpress.com/2007/07/15/to-enable-disable-validation-control-from-java-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/57427de5a48742180169ae110a00152e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mkchampaneri</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Script Variable checking</title>
		<link>http://mkchampaneri.wordpress.com/2007/05/29/java-script-variable-checking/</link>
		<comments>http://mkchampaneri.wordpress.com/2007/05/29/java-script-variable-checking/#comments</comments>
		<pubDate>Tue, 29 May 2007 06:37:21 +0000</pubDate>
		<dc:creator>mkchampaneri</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mkchampaneri.wordpress.com/2007/05/29/java-script-variable-checking/</guid>
		<description><![CDATA[To check variable is defined or not in java script: if(typeof(variable) != &#8216;undefined&#8217; )          return true; else         return false;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=3&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To check variable is defined or not in java script:</p>
<p>if(typeof(variable) != &#8216;undefined&#8217; )<br />
         return true;<br />
else<br />
        return false;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mkchampaneri.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mkchampaneri.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mkchampaneri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mkchampaneri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mkchampaneri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mkchampaneri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mkchampaneri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mkchampaneri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mkchampaneri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mkchampaneri.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mkchampaneri.wordpress.com&amp;blog=952691&amp;post=3&amp;subd=mkchampaneri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mkchampaneri.wordpress.com/2007/05/29/java-script-variable-checking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/57427de5a48742180169ae110a00152e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mkchampaneri</media:title>
		</media:content>
	</item>
	</channel>
</rss>
