<?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>Kananimanish&#039;s Weblog</title>
	<atom:link href="http://kananimanish.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kananimanish.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 13 Jul 2009 05:55:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kananimanish.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kananimanish&#039;s Weblog</title>
		<link>http://kananimanish.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kananimanish.wordpress.com/osd.xml" title="Kananimanish&#039;s Weblog" />
	<atom:link rel='hub' href='http://kananimanish.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to add background music and on/off in website</title>
		<link>http://kananimanish.wordpress.com/2009/07/13/how-to-add-background-music-and-onoff-in-website/</link>
		<comments>http://kananimanish.wordpress.com/2009/07/13/how-to-add-background-music-and-onoff-in-website/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 05:53:52 +0000</pubDate>
		<dc:creator>kananimanish</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://kananimanish.wordpress.com/?p=17</guid>
		<description><![CDATA[&#60;html&#62; &#60;head&#62; &#60;title&#62;Test&#60;/title&#62; &#60;script type="text/javascript"&#62; function turnoff(){ var el=getElementById("music"); el.src=""; } &#60;/script&#62; &#60;/head&#62; &#60;body&#62; &#60;embed src="cantinaband.mid" width="32" height="32" hidden="true" loop="true" autoplay="true" id="music" name="music" /&#62; &#60;a href="javascript:turnoff()"&#62;turn off music&#60;/a&#62; &#60;/body&#62; &#60;/html&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kananimanish.wordpress.com&amp;blog=3559248&amp;post=17&amp;subd=kananimanish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre style="border:1px inset;overflow:auto;width:900px;height:258px;text-align:left;margin:0;padding:6px;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test&lt;/title&gt;
&lt;script type="text/javascript"&gt;
function turnoff(){
var el=getElementById("music");
el.src="";
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;embed src="cantinaband.mid" width="32" height="32" hidden="true" loop="true" autoplay="true" id="music" name="music" /&gt;
&lt;a href="javascript:turnoff()"&gt;turn off music&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kananimanish.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kananimanish.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kananimanish.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kananimanish.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kananimanish.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kananimanish.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kananimanish.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kananimanish.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kananimanish.wordpress.com&amp;blog=3559248&amp;post=17&amp;subd=kananimanish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kananimanish.wordpress.com/2009/07/13/how-to-add-background-music-and-onoff-in-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4398680d05ab37499546152680ab52?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kananimanish</media:title>
		</media:content>
	</item>
		<item>
		<title>Add, update, delete , save xml try it.</title>
		<link>http://kananimanish.wordpress.com/2009/07/02/add-update-delete-save-xml-try-it/</link>
		<comments>http://kananimanish.wordpress.com/2009/07/02/add-update-delete-save-xml-try-it/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 10:35:43 +0000</pubDate>
		<dc:creator>kananimanish</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://kananimanish.wordpress.com/?p=11</guid>
		<description><![CDATA[Consider an XML File &#60;CustomerData&#62; &#60;Customerinfo&#62; &#60;ID&#62;101&#60;/ID&#62; &#60;Name&#62;john&#60;/Name&#62; &#60;Age&#62;34&#60;/Age&#62; &#60;/Customerinfo&#62; &#60;Customerinfo&#62; &#60;ID&#62;101&#60;/ID&#62; &#60;Name&#62;sweety&#60;/Name&#62; &#60;Age&#62;26&#60;/Age&#62; &#60;/Customerinfo&#62; &#60;/CustomerData&#62; Here CustomerData contains one Table called Customerinfo which has three Columns ID Name Age And Currently the Table has 2 records. //&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Now to Read the XML File we will use DataSet ReadXML Property. Consider that the file Customers.XML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kananimanish.wordpress.com&amp;blog=3559248&amp;post=11&amp;subd=kananimanish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Consider an XML File<br />
&lt;CustomerData&gt;<br />
&lt;Customerinfo&gt;<br />
&lt;ID&gt;101&lt;/ID&gt;<br />
&lt;Name&gt;john&lt;/Name&gt;<br />
&lt;Age&gt;34&lt;/Age&gt;<br />
&lt;/Customerinfo&gt;<br />
&lt;Customerinfo&gt;<br />
&lt;ID&gt;101&lt;/ID&gt;<br />
&lt;Name&gt;sweety&lt;/Name&gt;<br />
&lt;Age&gt;26&lt;/Age&gt;<br />
&lt;/Customerinfo&gt;<br />
&lt;/CustomerData&gt;</p>
<p>Here CustomerData contains one Table called Customerinfo which has three Columns<br />
ID<br />
Name<br />
Age<br />
And Currently the Table has 2 records.<br />
//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Now to Read the XML File we will use DataSet ReadXML Property.</p>
<p>Consider that the file Customers.XML is stored in C:\<br />
DataSet ds = new DataSet();<br />
ds.ReadXml(&#8220;C:\\Customers.XML&#8221;) ;</p>
<p>After this is done you can bind your DataSet to any data bound controls like<br />
GridView, DataGrid, Repeater, DropDownList and many others using their<br />
DataSource Property.</p>
<p>Example<br />
DataSet ds = new DataSet();</p>
<p>ds.ReadXml(&#8220;C:\\Customers.XML&#8221;) ;<br />
GridView1.DataSource = ds;<br />
GridView1.DataBind();<br />
//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
To Add New Rows To your XML File you can use the DataSet WriteXML Property</p>
<p>DataSet ds = new DataSet();<br />
ds.WriteXML() ;</p>
<p>Example<br />
ds.Tables[0].Rows.Add();<br />
ds.Tables[0].Rows[ds.Tables[0].Rows.Count &#8211; 1]["Name"] = &#8220;Ponting&#8221;;<br />
ds.Tables[0].Rows[ds.Tables[0].Rows.Count &#8211; 1]["Age"] = &#8220;33&#8243;;<br />
ds.Tables[0].AcceptChanges();<br />
ds.WriteXml(&#8220;C:\\Customers.XML&#8221;);</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
To Search for An Existing Record and Update the Record,<br />
you will have to Query the DataSet in the following way.<br />
DataRow[] dr = ds.Tables[0].Select(&#8220;Name = &#8216;abraham&#8217;&#8221;);<br />
if (dr!=null &amp;&amp; dr.Length &gt; 0)<br />
{<br />
dr[0]["Age"] = &#8220;25&#8243;;<br />
}<br />
ds.Tables[0].AcceptChanges();<br />
//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
To Delete a Particular Record.</p>
<p>DataRow[] dr = ds.Tables[0].Select(&#8220;Name = ‘Ponting’&#8221;);<br />
if (dr!=null &amp;&amp; dr.Length &gt; 0)<br />
{<br />
ds.Tables[0].Rows.Remove(dr[0]);<br />
}<br />
ds.Tables[0].AcceptChanges();</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kananimanish.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kananimanish.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kananimanish.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kananimanish.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kananimanish.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kananimanish.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kananimanish.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kananimanish.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kananimanish.wordpress.com&amp;blog=3559248&amp;post=11&amp;subd=kananimanish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kananimanish.wordpress.com/2009/07/02/add-update-delete-save-xml-try-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4398680d05ab37499546152680ab52?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kananimanish</media:title>
		</media:content>
	</item>
		<item>
		<title>Failed to access IIS metabase. Hosting WCF Service in IIS</title>
		<link>http://kananimanish.wordpress.com/2009/06/19/failed-to-access-iis-metabase-hosting-wcf-service-in-iis/</link>
		<comments>http://kananimanish.wordpress.com/2009/06/19/failed-to-access-iis-metabase-hosting-wcf-service-in-iis/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 09:34:05 +0000</pubDate>
		<dc:creator>kananimanish</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[iis metabase]]></category>

		<guid isPermaLink="false">http://kananimanish.wordpress.com/?p=3</guid>
		<description><![CDATA[This error (&#8220;Failed to access IIS metabase&#8221;) can occur when you try to access your WCF when you have added for hosting within IIS. To solve this problem do this: Reregister ASP.NET for IIS:  Open an Visual Studio Command Prompt (or a regular command prompt and cd into the .Net dir &#8211; usually: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kananimanish.wordpress.com&amp;blog=3559248&amp;post=3&amp;subd=kananimanish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This error (&#8220;Failed to access IIS metabase&#8221;) can occur when you try to access your WCF when you have added for hosting within IIS.</p>
<p>To solve this problem do this:</p>
<ol>
<li>Reregister ASP.NET for IIS:  Open an Visual Studio Command Prompt (or a regular command prompt and cd into the .Net dir &#8211; usually: <span style="font-family:Arial;">C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</span>) then type:<br />
aspnet_regiis -i</li>
<li>When complete, from the same command prompt run: iisreset</li>
</ol>
<p>Verify your IIS virtual/app dir is setup correctly (uses .Net 2).  If you don&#8217;t already have one&#8230;</p>
<p>To Host a WCF Service within IIS:</p>
<ol>
<li>Develop your service in IIS (I&#8217;m not going to tell you how to do that!) and build it.</li>
<li>Within your computer management/MMC console (compmgmt.msc), open the Internet Information Service node and right click on the site you want to use and select New &#8211; Virtual Directory&#8230;</li>
<li>Enter the name you want.</li>
<li>Point this to the directory you created your WCF service project in (the project root dir &#8211; not the bin dir).</li>
<li>Complete the wizard then back in the MMC window right click on your new virtual dir and select Properties.</li>
<li>On the ASP.NET tab make sure uses version 2.0.50727 (or whatever your v2 is).</li>
</ol>
<p>To test:  within the MMC console &#8211; open your new virtual dir, right click on one of your services (eg MyService.svc) and select Browse.</p>
<p>kanani Manish</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kananimanish.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kananimanish.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kananimanish.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kananimanish.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kananimanish.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kananimanish.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kananimanish.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kananimanish.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kananimanish.wordpress.com&amp;blog=3559248&amp;post=3&amp;subd=kananimanish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kananimanish.wordpress.com/2009/06/19/failed-to-access-iis-metabase-hosting-wcf-service-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4398680d05ab37499546152680ab52?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kananimanish</media:title>
		</media:content>
	</item>
	</channel>
</rss>
