<?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>Utkarsh Puranik&#039;s Blog</title>
	<atom:link href="http://utkarshpuranik.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://utkarshpuranik.com</link>
	<description>sharing my technical adventure...</description>
	<lastBuildDate>Tue, 06 Mar 2012 18:41:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='utkarshpuranik.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/c18abeca4645bcfa21000bbc770da5a1?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Utkarsh Puranik&#039;s Blog</title>
		<link>http://utkarshpuranik.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://utkarshpuranik.com/osd.xml" title="Utkarsh Puranik&#039;s Blog" />
	<atom:link rel='hub' href='http://utkarshpuranik.com/?pushpress=hub'/>
		<item>
		<title>Aggregate values of a column when using a group by in oracle</title>
		<link>http://utkarshpuranik.com/2011/12/12/aggregate-values-of-a-column-when-using-a-group-by-in-oracle/</link>
		<comments>http://utkarshpuranik.com/2011/12/12/aggregate-values-of-a-column-when-using-a-group-by-in-oracle/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 11:47:27 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.com/?p=330</guid>
		<description><![CDATA[For detailed usage of string aggregation visit http://bit.ly/ixVwcS<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=330&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: sql;">
SELECT deptno, wm_concat(ename) AS employees
FROM   emp
GROUP BY deptno;

DEPTNO EMPLOYEES
---------- --------------------------------------------------
10 CLARK,KING,MILLER
20 SMITH,FORD,ADAMS,SCOTT,JONES
30 ALLEN,BLAKE,MARTIN,TURNER,JAMES,WARD
</pre></p>
<p>For detailed usage of string aggregation visit http://bit.ly/ixVwcS</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/330/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=330&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2011/12/12/aggregate-values-of-a-column-when-using-a-group-by-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>Lightweight Rich Text Editor Control in ASP.NET MVC 2 &#8211; Part 2</title>
		<link>http://utkarshpuranik.com/2010/12/23/lightweight-rich-text-editor-control-in-asp-net-mvc-2-part-2/</link>
		<comments>http://utkarshpuranik.com/2010/12/23/lightweight-rich-text-editor-control-in-asp-net-mvc-2-part-2/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 07:30:14 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Rich Text Editor]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.com/?p=307</guid>
		<description><![CDATA[The last post I made was the most basic way of getting that RTE control rendered in ASP.NET MVC. I explored it more and have found a more appropriate way of doing this. Below is the class for TextEditor Control. &#8230; <a href="http://utkarshpuranik.com/2010/12/23/lightweight-rich-text-editor-control-in-asp-net-mvc-2-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=307&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The last post I made was the most basic way of getting that RTE control rendered in ASP.NET MVC. I explored it more and have found a more appropriate way of doing this.</p>
<p>Below is the class for TextEditor Control. I have added two methods <b>TextEditor</b> and <b>TextEditorFor</b> with 2 overloads each. <b>TextEditorFor</b> methods takes expression as input and renders the control deducing name from expression also if the input model contains value in it, control is initialized with that value.</p>
<p><pre class="brush: csharp;">
/// &lt;summary&gt;
/// Html helper extension for a rich text editor element
/// &lt;/summary&gt;
public static class TextEditorExtention
{
	/// &lt;summary&gt;
	/// Returns a rich text editor element by using the specified HTML helper and the name of the form field.
	/// &lt;/summary&gt;
	/// &lt;param name=&quot;htmlHelper&quot;&gt;The HTML helper instance that this method extends.&lt;/param&gt;
	/// &lt;param name=&quot;name&quot;&gt;The name of the form field and the &lt;see cref=&quot;System.Web.Mvc.ViewDataDictionary&quot; /&gt; key that is used to look up the validation errors.&lt;/param&gt;
	/// &lt;param name=&quot;value&quot;&gt;The value to be set in the rich text editor element.&lt;/param&gt;
	/// &lt;returns&gt;&lt;/returns&gt;
	public static MvcHtmlString TextEditor(this HtmlHelper htmlHelper, string name, string value = &quot;&quot;)
	{
		return htmlHelper.TextEditor(name, (object)null, value);
	}

	/// &lt;summary&gt;
	/// Returns a rich text editor element by using the specified HTML helper, the name of the form field and the HTML attributes.
	/// &lt;/summary&gt;
	/// &lt;param name=&quot;htmlHelper&quot;&gt;The HTML helper instance that this method extends.&lt;/param&gt;
	/// &lt;param name=&quot;name&quot;&gt;The name of the form field and the &lt;see cref=&quot;System.Web.Mvc.ViewDataDictionary&quot; /&gt; key that is used to look up the validation errors.&lt;/param&gt;
	/// &lt;param name=&quot;htmlAttributes&quot;&gt;An object that contains the HTML attributes for the element. The attributes are retrieved through reflection by examining the properties of the object. The object is typically created by using object initializer syntax.&lt;/param&gt;
	/// &lt;param name=&quot;value&quot;&gt;The value to be set in the rich text editor element.&lt;/param&gt;
	/// &lt;returns&gt;&lt;/returns&gt;
	public static MvcHtmlString TextEditor(this HtmlHelper htmlHelper, string name, object htmlAttributes, string value = &quot;&quot;)
	{
		return htmlHelper.TextEditor(name, new RouteValueDictionary(htmlAttributes), value);
	}

	/// &lt;summary&gt;
	/// Returns a rich text editor element by using the specified HTML helper, the name of the form field and the HTML attributes.
	/// &lt;/summary&gt;
	/// &lt;param name=&quot;htmlHelper&quot;&gt;The HTML helper instance that this method extends.&lt;/param&gt;
	/// &lt;param name=&quot;name&quot;&gt;The name of the form field and the &lt;see cref=&quot;System.Web.Mvc.ViewDataDictionary&quot; /&gt; key that is used to look up the validation errors.&lt;/param&gt;
	/// &lt;param name=&quot;htmlAttributes&quot;&gt;An object that contains the HTML attributes for the element. The attributes are retrieved through reflection by examining the properties of the object. The object is typically created by using object initializer syntax.&lt;/param&gt;
	/// &lt;param name=&quot;value&quot;&gt;The value to be set in the rich text editor element.&lt;/param&gt;
	/// &lt;returns&gt;&lt;/returns&gt;
	public static MvcHtmlString TextEditor(this HtmlHelper htmlHelper, string name, IDictionary&lt;String, Object&gt; htmlAttributes, string value = &quot;&quot;)
	{
		var tagBuilder = new TagBuilder(&quot;textarea&quot;);
		tagBuilder.MergeAttributes(htmlAttributes);
		tagBuilder.MergeAttribute(&quot;name&quot;, name, true);
		tagBuilder.MergeAttribute(&quot;class&quot;, &quot;rte&quot;, true);
		tagBuilder.GenerateId(name);

		if (!string.IsNullOrEmpty(value))
		{
			tagBuilder.SetInnerText(value);
		}

		ModelState modelState;
		if (htmlHelper.ViewData.ModelState.TryGetValue(name, out modelState))
		{
			if (modelState.Errors.Count &gt; 0)
			{
				tagBuilder.AddCssClass(HtmlHelper.ValidationInputCssClassName);
			}
		}

		string textArea = tagBuilder.ToString(TagRenderMode.Normal);
		return MvcHtmlString.Create(@&quot;&lt;script type=&quot;&quot;text/javascript&quot;&quot;&gt;
							$(document).ready(function () {
								var arr = $('.rte1').rte({
									css: ['default.css'],
									controls_rte: rte_toolbar,
									controls_html: html_toolbar
								});

								$('.rte').rte({
									css: ['default.css'],
									width: 450,
									height: 200,
									controls_rte: rte_toolbar,
									controls_html: html_toolbar
								}, arr);
							});
							&lt;/script&gt;&quot; + textArea);
	}

	/// &lt;summary&gt;
	/// Returns a rich text editor element by using the specified HTML helper and the name of the form field as an expression.
	/// &lt;/summary&gt;
	/// &lt;typeparam name=&quot;TModel&quot;&gt;The type of the model.&lt;/typeparam&gt;
	/// &lt;typeparam name=&quot;TValue&quot;&gt;The type of the value.&lt;/typeparam&gt;
	/// &lt;param name=&quot;htmlHelper&quot;&gt;The HTML helper instance that this method extends.&lt;/param&gt;
	/// &lt;param name=&quot;expression&quot;&gt;The expression that resolves to the name of the form field and the &lt;see cref=&quot;System.Web.Mvc.ViewDataDictionary&quot; /&gt; key that is used to look up the validation errors.&lt;/param&gt;
	/// &lt;param name=&quot;value&quot;&gt;The value to be set in the rich text editor element.&lt;/param&gt;
	/// &lt;returns&gt;&lt;/returns&gt;

	public static MvcHtmlString TextEditorFor&lt;TModel, TValue&gt;(this HtmlHelper&lt;TModel&gt; htmlHelper, Expression&lt;Func&lt;TModel, TValue&gt;&gt; expression, string value = &quot;&quot;)
	{
		return htmlHelper.TextEditorFor&lt;TModel, TValue&gt;(expression, (object)null, value);
	}

	/// &lt;summary&gt;
	/// Returns a rich text editor element by using the specified HTML helper and the name of the form field as an expression.
	/// &lt;/summary&gt;
	/// &lt;typeparam name=&quot;TModel&quot;&gt;The type of the model.&lt;/typeparam&gt;
	/// &lt;typeparam name=&quot;TValue&quot;&gt;The type of the value.&lt;/typeparam&gt;
	/// &lt;param name=&quot;htmlHelper&quot;&gt;The HTML helper instance that this method extends.&lt;/param&gt;
	/// &lt;param name=&quot;expression&quot;&gt;The expression that resolves to the name of the form field and the &lt;see cref=&quot;System.Web.Mvc.ViewDataDictionary&quot; /&gt; key that is used to look up the validation errors.&lt;/param&gt;
	/// &lt;param name=&quot;htmlAttributes&quot;&gt;An object that contains the HTML attributes for the element. The attributes are retrieved through reflection by examining the properties of the object. The object is typically created by using object initializer syntax.&lt;/param&gt;
	/// &lt;param name=&quot;value&quot;&gt;The value to be set in the rich text editor element.&lt;/param&gt;
	/// &lt;returns&gt;&lt;/returns&gt;
	public static MvcHtmlString TextEditorFor&lt;TModel, TValue&gt;(this HtmlHelper&lt;TModel&gt; htmlHelper, Expression&lt;Func&lt;TModel, TValue&gt;&gt; expression, object htmlAttributes, string value = &quot;&quot;)
	{
		return htmlHelper.TextEditorFor&lt;TModel, TValue&gt;(expression, new RouteValueDictionary(htmlAttributes), value);
	}

	/// &lt;summary&gt;
	/// Returns a rich text editor element by using the specified HTML helper and the name of the form field as an expression.
	/// &lt;/summary&gt;
	/// &lt;typeparam name=&quot;TModel&quot;&gt;The type of the model.&lt;/typeparam&gt;
	/// &lt;typeparam name=&quot;TValue&quot;&gt;The type of the value.&lt;/typeparam&gt;
	/// &lt;param name=&quot;htmlHelper&quot;&gt;The HTML helper instance that this method extends.&lt;/param&gt;
	/// &lt;param name=&quot;expression&quot;&gt;The expression that resolves to the name of the form field and the &lt;see cref=&quot;System.Web.Mvc.ViewDataDictionary&quot; /&gt; key that is used to look up the validation errors.&lt;/param&gt;
	/// &lt;param name=&quot;htmlAttributes&quot;&gt;An object that contains the HTML attributes for the element. The attributes are retrieved through reflection by examining the properties of the object. The object is typically created by using object initializer syntax.&lt;/param&gt;
	/// &lt;param name=&quot;value&quot;&gt;The value to be set in the rich text editor element.&lt;/param&gt;
	/// &lt;returns&gt;&lt;/returns&gt;
	public static MvcHtmlString TextEditorFor&lt;TModel, TValue&gt;(this HtmlHelper&lt;TModel&gt; htmlHelper, Expression&lt;Func&lt;TModel, TValue&gt;&gt; expression, IDictionary&lt;String, Object&gt; htmlAttributes, string value = &quot;&quot;)
	{
		var name = ExpressionHelper.GetExpressionText(expression);
		object model = ModelMetadata.FromLambdaExpression(expression, htmlHelper.ViewData).Model;
		if (string.IsNullOrEmpty(value))
		{
			value = model.ToString();
		}

		return htmlHelper.TextEditor(name, htmlAttributes, value);
	}
}
</pre></p>
<p>We can use it as follows</p>
<p><pre class="brush: csharp;">
&lt;%= Html.TextEditor(&quot;txtContent&quot;) %&gt;
&lt;%= Html.TextEditorFor(model =&gt; model.Content) %&gt;
</pre></p>
<p>You can download Lightweight Rich Text Editor plug-in from <a href="http://plugins.jquery.com/node/7149" target="_blank">here</a>.</p>
<br /> Tagged: <a href='http://utkarshpuranik.com/tag/asp-net-mvc/'>ASP.NET MVC</a>, <a href='http://utkarshpuranik.com/tag/c/'>C#</a>, <a href='http://utkarshpuranik.com/tag/jquery/'>jQuery</a>, <a href='http://utkarshpuranik.com/tag/rich-text-editor/'>Rich Text Editor</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=307&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/12/23/lightweight-rich-text-editor-control-in-asp-net-mvc-2-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>Lightweight Rich Text Editor Control in ASP.NET MVC 2</title>
		<link>http://utkarshpuranik.com/2010/12/20/lightweight-rich-text-editor-control-in-asp-net-mvc-2/</link>
		<comments>http://utkarshpuranik.com/2010/12/20/lightweight-rich-text-editor-control-in-asp-net-mvc-2/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 12:13:08 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Rich Text Editor]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.com/?p=282</guid>
		<description><![CDATA[There is a Lightweight Rich Text Editor Control on jQuery. I used this in a personal project in MVC, it made my otherwise clean pages messed up so I extented it to a control. Following are the files which came &#8230; <a href="http://utkarshpuranik.com/2010/12/20/lightweight-rich-text-editor-control-in-asp-net-mvc-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=282&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is a <a href="http://plugins.jquery.com/project/lwRTE">Lightweight Rich Text Editor Control</a> on jQuery. I used this in a personal project in MVC, it made my otherwise clean pages messed up so I extented it to a control.</p>
<p>Following are the files which came in jQuery RTE plug-in</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/12/rte.jpg" target="blank"><img src="http://utkarshpuranik.files.wordpress.com/2010/12/rte.jpg?w=640" /></a></p>
<p>I added these script reference to master page</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/12/script.jpg" target="blank"><img src="http://utkarshpuranik.files.wordpress.com/2010/12/script.jpg?w=640" /></a></p>
<p><pre class="brush: csharp;">
public static class TextEditorExtention
{
	public static string TextEditor(this HtmlHelper helper, string ID, string CssClass)
	{
		string textArea = string.Format(@&quot;
							&lt;textarea id=&quot;&quot;{0}&quot;&quot; name=&quot;&quot;{0}&quot;&quot; class=&quot;&quot;{1}&quot;&quot;&gt;&lt;/textarea&gt;&quot;,
														ID, CssClass);
		return string.Concat(@&quot;&lt;script type=&quot;&quot;text/javascript&quot;&quot;&gt;
							$(document).ready(function () {
								var arr = $('.rte').rte({
									css: ['default.css'],
									controls_rte: rte_toolbar,
									controls_html: html_toolbar
								});

								$('.rte').rte({
									css: ['default.css'],
									width: 450,
									height: 200,
									controls_rte: rte_toolbar,
									controls_html: html_toolbar
								}, arr);
							});
							&lt;/script&gt;&quot;, textArea);
	}
}
</pre></p>
<p>This is the code of helper class we write a method TextEditor as an extension method for HtmlHelper class</p>
<p>We use it as follows in aspx pages</p>
<p><pre class="brush: csharp;">
&lt;%= Html.TextEditor(&quot;txtContent&quot;,&quot;rte&quot;) %&gt;
</pre></p>
<br /> Tagged: <a href='http://utkarshpuranik.com/tag/asp-net-mvc/'>ASP.NET MVC</a>, <a href='http://utkarshpuranik.com/tag/c/'>C#</a>, <a href='http://utkarshpuranik.com/tag/jquery/'>jQuery</a>, <a href='http://utkarshpuranik.com/tag/rich-text-editor/'>Rich Text Editor</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=282&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/12/20/lightweight-rich-text-editor-control-in-asp-net-mvc-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/12/rte.jpg" medium="image" />

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/12/script.jpg" medium="image" />
	</item>
		<item>
		<title>Creating, Installing, Debugging Windows Services</title>
		<link>http://utkarshpuranik.com/2010/06/07/creating-installing-debugging-windows-services/</link>
		<comments>http://utkarshpuranik.com/2010/06/07/creating-installing-debugging-windows-services/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 19:36:07 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Windows Services]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/?p=235</guid>
		<description><![CDATA[When I started working on windows services, I had some difficulty with how to install it, what are necessary functionalities, how to debug it etc. I am sharing my leaning from a beginner&#8217;s point of view that how to create &#8230; <a href="http://utkarshpuranik.com/2010/06/07/creating-installing-debugging-windows-services/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=235&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I started working on windows services, I had some difficulty with how to install it, what are necessary functionalities, how to debug it etc. I am sharing my leaning from a beginner&#8217;s point of view that how to create a service from scratch.</p>
<p><strong>Part 1 &#8211; Creating a Windows Service Project</strong></p>
<p>You can select Windows Service template on the new project screen in the windows section to create a windows service project.</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/create-window-service-project.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/create-window-service-project.jpg?w=640" alt="Create Project Dialog"></a></p>
<p>This is what it first looks like after you create the project.</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/first-code.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/first-code.jpg?w=640" alt="This is what it first looks like after you create the project."></a></p>
<p>I changed the default code in the class to the code below, and added a timer as the functionality is to be performed at regular intervals. and custom event log entry to track service actions.</p>
<p><pre class="brush: csharp;">
Timer serviceTimer = new Timer();
public PracticeService()
{
    InitializeComponent();
    if (!System.Diagnostics.EventLog.SourceExists(&quot;PracticeSource&quot;))
    {
        System.Diagnostics.EventLog.CreateEventSource(&quot;PracticeSource&quot;,&quot;PracticeLog&quot;);
    }
    eventLog1.Source = &quot;PracticeSource&quot;;
    eventLog1.Log = &quot;PracticeLog&quot;;
}

protected override void OnStart(string[] args)
{
    eventLog1.WriteEntry(&quot;Practice Service Started&quot;, EventLogEntryType.Information);
    InitializeTimer();
}

protected override void OnStop()
{
    eventLog1.WriteEntry(&quot;Practice Service Stopped&quot;, EventLogEntryType.Information);
    serviceTimer.Dispose();
}

private void InitializeTimer()
{
    try
    {
        if (serviceTimer != null)
        {
            serviceTimer.AutoReset = true;
            serviceTimer.Interval = Convert.ToDouble(60 * 1000);
            serviceTimer.Enabled = true;
            serviceTimer.Elapsed += serviceTimer_Elapsed;
            eventLog1.WriteEntry(&quot;Service Timer Initialized&quot;, EventLogEntryType.Information);
        }
    }
    catch (Exception ex)
    {
        eventLog1.WriteEntry(ex.Message, EventLogEntryType.Error);
    }
}
protected void serviceTimer_Elapsed(object sender,ElapsedEventArgs e)
{
    //Your Functionality
    eventLog1.WriteEntry(&quot;Elapsed Event Called&quot;, EventLogEntryType.Information);
}
</pre></p>
<p>To install the service with necessary information in itself we need to add an installer file to this project. An installer class can be found under General tab while adding items to the project.</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/installer-class.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/installer-class.jpg?w=640" alt="Installer Class"></a></p>
<p>Add the components ServiceProcessInstaller and ServiceInstaller to the Installer Class from the toolbox and initialize their properties</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/installer-design-view1.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/installer-design-view1.jpg?w=640" alt="Installer Class Design View"></a></p>
<p><pre class="brush: csharp;">
//
// PracticeServiceInstaller
//
this.PracticeServiceInstaller.Description = &quot;This service is created for practice purposes.&quot;;
this.PracticeServiceInstaller.DisplayName = &quot;Practice Service&quot;;
this.PracticeServiceInstaller.ServiceName = &quot;PracticeService&quot;;
this.PracticeServiceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
//
// PracticeServiceProcessInstaller
//
this.PracticeServiceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
this.PracticeServiceProcessInstaller.Password = null;
this.PracticeServiceProcessInstaller.Username = null;
</pre></p>
<p>Above is the code in the designer file of installer class after initializing the properties. If the service requires special permissions you can use a user with same permissions.</p>
<p>Now build the project in Release mode and we are ready for deployment. For debugging build the project in Debug mode.</p>
<p><strong>Part 2 &#8211; Installing a Windows Service</strong></p>
<p>To install the service copy the contents of project output folder(debug/release) to the deployment folder in my case it is &#8220;G:\Deployments\PracticeService&#8221;</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/deployment-folder.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/deployment-folder.jpg?w=640" alt="Deployment Folder"></a></p>
<p>Now to install the service open command prompt go to .NET framework folder. As we have entered all the required information regarding service in installer, we won&#8217;t be needed to enter any information here and installation will be smooth. We run InstallUtil.exe program to install our service, it takes &#8216;/i&#8217; as first argument for installation and &#8216;/u&#8217; for uninstall. The second argument is the path to the service, in my case it is &#8220;G:\Deployments\PracticeService\PracticeService.exe&#8221;.</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/command-prompt1.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/command-prompt1.jpg?w=640" alt=""></a></p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/command-prompt2.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/command-prompt2.jpg?w=640" alt=""></a></p>
<p>After installation our service is now visible in Services Manager Screen</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/services.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/services.jpg?w=640" alt="Services Manager"></a></p>
<p>When we start the service and let it run for few minutes we can see the PracticeLog created in the Event Viewer. Here we can see the event happening where we have written entry in the event log like serviceTimer_Elpased event.</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/event-log.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/event-log.jpg?w=640" alt="Event Viewer"></a></p>
<p><strong>Part 3 &#8211; Debugging windows service.</strong></p>
<p>Debugging windows service is as easy as debugging any other program. You just have to attach the Visual Studio Debugger to your service. The service may not get displayed at first because by default it shows the service running of current user. To display you service in the debugger just check the checkbox labeled &#8220;Show processes from all users&#8221;, then you can debug your code. Make sure that the service deployed should be built in Debug mode not the release mode.</p>
<p><a href="http://utkarshpuranik.files.wordpress.com/2010/06/debugging.jpg"><img src="http://utkarshpuranik.files.wordpress.com/2010/06/debugging.jpg?w=640" alt="Debugging"></a></p>
<p>If you want to debug the service code without deploying it, there is another way by adding a module to the project and calling the service &#8220;OnStart&#8221; function in it. Set it as the start-up object and you can debug by running the project the usual way.</p>
<p>The information provided here is easily available on the internet if you search for it, I just wanted to accumulate all the this information at one place so as to have a step by step way for a beginner to start working with Windows Services.</p>
<br /> Tagged: <a href='http://utkarshpuranik.com/tag/net/'>.NET</a>, <a href='http://utkarshpuranik.com/tag/c/'>C#</a>, <a href='http://utkarshpuranik.com/tag/windows-services/'>Windows Services</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=235&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/06/07/creating-installing-debugging-windows-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.687102 75.836054</georss:point>
		<geo:lat>22.687102</geo:lat>
		<geo:long>75.836054</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/create-window-service-project.jpg" medium="image">
			<media:title type="html">Create Project Dialog</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/first-code.jpg" medium="image">
			<media:title type="html">This is what it first looks like after you create the project.</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/installer-class.jpg" medium="image">
			<media:title type="html">Installer Class</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/installer-design-view1.jpg" medium="image">
			<media:title type="html">Installer Class Design View</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/deployment-folder.jpg" medium="image">
			<media:title type="html">Deployment Folder</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/command-prompt1.jpg" medium="image" />

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/command-prompt2.jpg" medium="image" />

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/services.jpg" medium="image">
			<media:title type="html">Services Manager</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/event-log.jpg" medium="image">
			<media:title type="html">Event Viewer</media:title>
		</media:content>

		<media:content url="http://utkarshpuranik.files.wordpress.com/2010/06/debugging.jpg" medium="image">
			<media:title type="html">Debugging</media:title>
		</media:content>
	</item>
		<item>
		<title>Useful Links Feb-2010</title>
		<link>http://utkarshpuranik.com/2010/02/22/useful-links-feb-2010/</link>
		<comments>http://utkarshpuranik.com/2010/02/22/useful-links-feb-2010/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 15:39:54 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/?p=211</guid>
		<description><![CDATA[Some useful links that I found this month wandering on the internet thought it would be interesting to share. 101 Time-Saving Google Tricks for Work, Play and Learning Gmail Power Tips: How To Integrate Your Facebook, Twitter, Yahoo, Friendfeed In &#8230; <a href="http://utkarshpuranik.com/2010/02/22/useful-links-feb-2010/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=211&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some useful links that I found this month wandering on the internet thought it would be interesting to share.</p>
<ol>
<li><a href="http://www.bestuniversity.com/blog/2009/101-time-saving-google-tricks-for-work-play-and-learning">101 Time-Saving Google Tricks for Work, Play and Learning</a></li>
<li><a href="http://savedelete.com/gmail-power-tips-how-to-integrate-your-facebook-twitter-yahoo-friendfeed-in-your-gmail.html">Gmail Power Tips: How To Integrate Your Facebook, Twitter, Yahoo, Friendfeed In Your Gmail</a></li>
<li><a href="http://net.tutsplus.com/articles/general/why-web-developers-should-switch-to-google-chrome">Why Web Developers Should Switch to Google Chrome</a></li>
<li><a href="http://caintechnews.wordpress.com/2009/04/22/64-things-every-geek-should-know">64 Things Every Geek Should Know</a></li>
<li><a href="http://www.webappers.com">Best Open Source Resources for Web Developers</a></li>
<li><a href="http://devlunch.smart.fm/2009/07/29/six-things-your-mom-never-told-you-about-debugging-javascript">Six Things Your Mom Never Told You About Debugging Javascript</a></li>
<li><a href="http://www.smashingmagazine.com/2009/04/07/15-essential-checks-before-launching-your-website">15 Essential Checks Before Launching Your Website</a></li>
</ol>
<br /> Tagged: <a href='http://utkarshpuranik.com/tag/links/'>Links</a>, <a href='http://utkarshpuranik.com/tag/tips/'>tips</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=211&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/02/22/useful-links-feb-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>Remove Special Characters from a string in SQL Server</title>
		<link>http://utkarshpuranik.com/2010/01/23/remove-special-characters-from-a-string-in-sql-server/</link>
		<comments>http://utkarshpuranik.com/2010/01/23/remove-special-characters-from-a-string-in-sql-server/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 14:15:16 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Remove Special Characters]]></category>
		<category><![CDATA[Replace Special Characters]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/?p=185</guid>
		<description><![CDATA[Here is a sql script which I found on some forum while searching for the same which I thought is interesting enough to share. This script can be used to remove special characters from a string in SQL Server – &#8230; <a href="http://utkarshpuranik.com/2010/01/23/remove-special-characters-from-a-string-in-sql-server/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=185&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a sql script which I found on some forum while searching for the same which I thought is interesting enough to share. This script can be used to remove special characters from a string in SQL Server –</p>
<p><pre class="brush: sql;">
/*********************************
Removes any special characters from 
@inputString that do not meet the 
provided criteria.
*********************************/
CREATE FUNCTION [dbo].[udfGetCharacters](@inputString VARCHAR(MAX), @validChars VARCHAR(100))
RETURNS VARCHAR(500) AS
BEGIN
 
	WHILE @inputString like '%[^' + @validChars + ']%'
		SELECT @inputString = REPLACE(@inputString,SUBSTRING(@inputString,PATINDEX('%[^' + @validChars + ']%',@inputString),1),'')

	RETURN @inputString
END
</pre></p>
<p>This function takes input string and the valid characters and replaces all the characters other than those in valid characters string. This function can be used as follows–</p>
<p><pre class="brush: sql;">
--Usage of the function
select [dbo].udfGetCharacters('utkarsh puranik`s blog' ,'0-9a-z ')

--output
utkarsh puraniks blog
</pre></p>
<br /> Tagged: Function, Remove Special Characters, Replace Special Characters, SQL Server, TSQL <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=185&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/01/23/remove-special-characters-from-a-string-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieve Values From Querystring on Client-Side</title>
		<link>http://utkarshpuranik.com/2010/01/12/retrieve-values-from-querystring-on-client-side/</link>
		<comments>http://utkarshpuranik.com/2010/01/12/retrieve-values-from-querystring-on-client-side/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 13:40:32 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Client-Side Querystring Retrieval]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Querystring]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/?p=168</guid>
		<description><![CDATA[Above code can be used to retrieve values from Querystring on the client-side i.e. via JavaScript. Use queryString function to retrieve a value. e.g. Tagged: Client-Side Querystring Retrieval, JavaScript, Querystring<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=168&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: jscript;">
function PageQuery(q) {
    if (q.length &gt; 1) this.q = q.substring(1, q.length);
    else this.q = null;
    this.keyValuePairs = new Array();
    if (q) {
        for (var i = 0; i &lt; this.q.split(&quot;&amp;&quot;).length; i++) {
            this.keyValuePairs[i] = this.q.split(&quot;&amp;&quot;)[i];
        }
    }
    this.getKeyValuePairs = function() { return this.keyValuePairs; }
    this.getValue = function(s) {
        for (var j = 0; j &lt; this.keyValuePairs.length; j++) {
            if (this.keyValuePairs[j].split(&quot;=&quot;)[0] == s)
                return this.keyValuePairs[j].split(&quot;=&quot;)[1];
        }
        return false;
    }
    this.getParameters = function() {
        var a = new Array(this.getLength());
        for (var j = 0; j &lt; this.keyValuePairs.length; j++) {
            a[j] = this.keyValuePairs[j].split(&quot;=&quot;)[0];
        }
        return a;
    }
    this.getLength = function() { return this.keyValuePairs.length; }
}

function queryString(key) {
    var page = new PageQuery(window.location.search);
    return unescape(page.getValue(key));
}
</pre></p>
<p>Above code can be used to retrieve values from Querystring on the client-side i.e. via JavaScript. Use queryString function to retrieve a value.<br />
e.g.</p>
<p><pre class="brush: jscript;">
var value = queryString(&quot;Key&quot;)
alert(value);
</pre></p>
<br /> Tagged: Client-Side Querystring Retrieval, JavaScript, Querystring <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=168&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/01/12/retrieve-values-from-querystring-on-client-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>window.print not working in firefox</title>
		<link>http://utkarshpuranik.com/2010/01/12/window-print-not-working-in-firefox/</link>
		<comments>http://utkarshpuranik.com/2010/01/12/window-print-not-working-in-firefox/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 11:09:11 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Print]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/?p=148</guid>
		<description><![CDATA[Recently I was implementing a functionality where we upload a file to server, retrieve its data then show summary based on it. I was showing this summary in a panel with a print button. This print button uses JavaScript function &#8230; <a href="http://utkarshpuranik.com/2010/01/12/window-print-not-working-in-firefox/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=148&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I was implementing a functionality where we upload a file to server, retrieve its data then show summary based on it. I was showing this summary in a panel with a print button. This print button uses JavaScript function window.print () to print the summary report from the contents of the panel. Here is the function that I was using – </p>
<p><pre class="brush: jscript;">
function CallPrint() {
    var prtContent = document.getElementById('&lt;%= pnlSummary.ClientID %&gt;');
    var winPrint = window.open('', '', 'left=0,top=0,width=800,height=600,toolbar=0,scrollbars=0,status=0');
    winPrint.document.write(&quot;&lt;h3&gt;Summary&lt;/h3&gt;&quot; + prtContent.innerHTML);
    winPrint.document.close();
    winPrint.focus();
    winPrint.print();
    winPrint.close();
}
</pre> </p>
<p>Everything was working fine until it came to Firefox. In Firefox the print dialog was not getting opened in the new window. To resolve this I changed the calling mechanism of the print function, I added a new page to project solution Print.aspx. Instead of opening a new window without any URL, I opened this page in the window and accessed the contents of the pnlSummary from the opened window via window.opener object – </p>
<p><pre class="brush: jscript;">
function CallPrint() {
    var winPrint = window.open('Print.aspx', '', 'left=0,top=0,width=800,height=600,toolbar=0,scrollbars=0,status=0');
}
</pre> </p>
<p>On Print.aspx page I used this function &#8211; </p>
<p><pre class="brush: jscript;">
function Print() {
    var prtContent = &quot;&lt;h3&gt;Summary&lt;/h3&gt;&quot; + window.opener.document.getElementById('ctl00_cphContent_pnlSummary').innerHTML;
    document.getElementById(&quot;printDiv&quot;).innerHTML = prtContent;
    window.print();
    window.opener.focus();
    window.close();
}
</pre></p>
<p>and called it on body onload. </p>
<p><pre class="brush: xml;">
&lt;body onload=&quot;Print();&quot;&gt;
    &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
    &lt;div id=&quot;printDiv&quot;&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
</pre></p>
<br /> Tagged: Firefox, JavaScript, Print <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=148&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/01/12/window-print-not-working-in-firefox/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>Podcasts to follow for .NET developers</title>
		<link>http://utkarshpuranik.com/2010/01/10/podcasts-to-follow-for-net-developers/</link>
		<comments>http://utkarshpuranik.com/2010/01/10/podcasts-to-follow-for-net-developers/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:13:48 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Podcast]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/2010/01/10/podcasts-to-follow-for-net-developers/</guid>
		<description><![CDATA[These are some of the podcasts that a .NET developer should follow - Stackoverflow – A programming community exploit HerdingCode – A Weekly podcast with K. Scott Allen, Kevin Dente, Scott Koon, and Jon Galloway. Hanselminutes – Weekly audio show &#8230; <a href="http://utkarshpuranik.com/2010/01/10/podcasts-to-follow-for-net-developers/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=153&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These are some of the podcasts that a .NET developer should follow -</p>
<ul>
<li><a href="http://blog.stackoverflow.com/index.php?feed=podcast">Stackoverflow</a> – A programming community exploit</li>
<li><a href="http://feeds2.feedburner.com/HerdingCode">HerdingCode</a> – A Weekly podcast with K. Scott Allen, Kevin Dente, Scott Koon, and Jon Galloway.</li>
<li><a href="http://feeds.feedburner.com/HanselminutesCompleteMP3">Hanselminutes</a> – Weekly audio show with web developer and technologist Scott Hanselman and hosted by Carl Franklin</li>
<li><a href="http://feeds.feedburner.com/codemag/codecast">CodeCast</a> – The late night show for .NET developers</li>
<li><a href="http://feeds.feedburner.com/netRocksFullMp3Downloads">.NET Rocks!</a> – The internet audio talk show for .NET developers</li>
<li><a href="http://www.scalabledevelopment.com/ftp/ASPNetPodcast-MP3.xml">The ASP.NET Podcast</a> – A Podcast by Wallace B. McClure, David Penton, and Paul Glavich</li>
<li><a href="http://www.dotnetpreacher.com/DesktopModules/NukeSyndicate/feed.aspx?tabId=36&amp;mid=375&amp;cat=.NET">.Net Preacher Show</a> – The Dot Net Preacher is about preaching the good word of .NET to the uneducated heathen masses and bringing them into the light of .NET to save their souls from the mortal dangers of PHP, J2EE, Ruby, Python and other false idols.</li>
<li><a href="http://channel9.msdn.com/Media/Podcasts/feed/mp3/">Channel9</a> – Channel9 podcast</li>
<li><a href="http://www.microsoft.com/events/podcasts/default.aspx?podcast=rss&amp;audience=Audience-e5381407-359f-4922-97d0-0237af790eee&amp;pageId=x40">Microsoft Podcasts</a> – Microsoft Podcasts for Developers</li>
<li><a href="http://feeds2.feedburner.com/PolymorphicPodcast">Polymorphic Podcast</a> – Craig Shoemaker&#8217;s periodic exploration of software and best practices for .NET developers</li>
</ul>
<br /> Tagged: .NET, Podcast <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=153&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/01/10/podcasts-to-follow-for-net-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
		<item>
		<title>“is not a valid name” error while retrieving data from csv file using oledb</title>
		<link>http://utkarshpuranik.com/2010/01/07/is-not-a-valid-name-error-while-retrieving-data-from-csv-file-using-oledb-solution/</link>
		<comments>http://utkarshpuranik.com/2010/01/07/is-not-a-valid-name-error-while-retrieving-data-from-csv-file-using-oledb-solution/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 20:33:57 +0000</pubDate>
		<dc:creator>Utkarsh Puranik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[Jet]]></category>
		<category><![CDATA[Oledb]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://utkarshpuranik.wordpress.com/?p=135</guid>
		<description><![CDATA[&#8220;is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.&#8221; I encountered this error about two days back when I was retrieving data from a file with &#8230; <a href="http://utkarshpuranik.com/2010/01/07/is-not-a-valid-name-error-while-retrieving-data-from-csv-file-using-oledb-solution/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=135&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8220;<strong>is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.&#8221;</strong></p>
<p>I encountered this error about two days back when I was retrieving data from a file with long name, I was not sure what was the cause of the problem so posted this as a <a href="http://stackoverflow.com/questions/1999003/is-not-a-valid-name-error-while-retrieving-data-from-csv-txt-file-using-oledb">question</a> on <a href="http://stackoverflow.com">stackoverflow</a>. As the response was low, I tried to search the solution on my own but I didn&#8217;t exactly found what the problem was but it was clear that long file name was creating problem so here is what I did</p>
<p><pre class="brush: vb;">
ConnString = &quot;Provider=Microsoft.Jet.OleDb.4.0; Data Source = &quot; &amp; System.IO.Path.GetDirectoryName(strFileName) &amp; &quot;; Extended Properties = &quot;&quot;Text;HDR=YES;FMT=Delimited&quot;&quot;&quot;

'==========OleDB Supports fixed length file name.===========
Dim OldFileName As String = System.IO.Path.GetFileName(strFileName)
Dim NewFileName As String = Guid.NewGuid().ToString().Substring(0, 10) + System.IO.Path.GetExtension(OldFileName)
Dim rootPath As String = System.IO.Path.GetDirectoryName(strFileName) + &quot;/&quot;

'Rename file name
My.Computer.FileSystem.RenameFile(rootPath + OldFileName, NewFileName)
strFileName = rootPath + NewFileName
'===========================================================

Dim strQuery As String
strQuery = &quot;SELECT * FROM [&quot; &amp; System.IO.Path.GetFileName(strFileName) &amp; &quot;]&quot;

'Revert rename file name
'===========================================================
My.Computer.FileSystem.RenameFile(rootPath + NewFileName, OldFileName)
strFileName = rootPath + OldFileName
'===========================================================
</pre></p>
<p>I just renamed the file with a new Guid while I am retrieving the data after renamed it back to original file name. This is not exactly what I wanted. Please comment if a better solution is there.</p>
<br /> Tagged: CSV, Jet, Oledb, VB.NET <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/utkarshpuranik.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/utkarshpuranik.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/utkarshpuranik.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/utkarshpuranik.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/utkarshpuranik.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/utkarshpuranik.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/utkarshpuranik.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/utkarshpuranik.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=utkarshpuranik.com&amp;blog=7921904&amp;post=135&amp;subd=utkarshpuranik&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://utkarshpuranik.com/2010/01/07/is-not-a-valid-name-error-while-retrieving-data-from-csv-file-using-oledb-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>22.727070 75.866524</georss:point>
		<geo:lat>22.727070</geo:lat>
		<geo:long>75.866524</geo:long>
		<media:content url="http://1.gravatar.com/avatar/1d7dd72faecd84106693346c4c6f93ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">utkarshpuranik</media:title>
		</media:content>
	</item>
	</channel>
</rss>
