<?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>Rubel 's Blog</title>
	<atom:link href="http://mdrubelbd.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mdrubelbd.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 25 Sep 2011 03:02:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mdrubelbd.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rubel 's Blog</title>
		<link>http://mdrubelbd.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mdrubelbd.wordpress.com/osd.xml" title="Rubel &#039;s Blog" />
	<atom:link rel='hub' href='http://mdrubelbd.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Drop all stored procedures</title>
		<link>http://mdrubelbd.wordpress.com/2011/05/03/drop-all-stored-procedures/</link>
		<comments>http://mdrubelbd.wordpress.com/2011/05/03/drop-all-stored-procedures/#comments</comments>
		<pubDate>Tue, 03 May 2011 11:26:31 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[MSSQL SERVER]]></category>
		<category><![CDATA[Drop all stored procedures]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=93</guid>
		<description><![CDATA[USE DBNAME GO declare @procName sysname declare someCursor cursor for select name from sysobjects where type = &#8216;P&#8217; and objectproperty(id, &#8216;IsMSShipped&#8217;) = 0 open someCursor fetch next from someCursor into @procName while @@FETCH_STATUS = 0 begin exec(&#8216;drop proc &#8216; + @procName) fetch next from someCursor into @procName end close someCursor deallocate someCursor go<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=93&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>USE DBNAME<br />
GO</p>
<p>declare @procName sysname</p>
<p>declare someCursor cursor for<br />
select name from sysobjects where type = &#8216;P&#8217; and objectproperty(id, &#8216;IsMSShipped&#8217;) = 0</p>
<p>open someCursor<br />
fetch next from someCursor into @procName<br />
while @@FETCH_STATUS = 0<br />
begin<br />
exec(&#8216;drop proc &#8216; + @procName)<br />
fetch next from someCursor into @procName<br />
end</p>
<p>close someCursor<br />
deallocate someCursor<br />
go</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=93&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2011/05/03/drop-all-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>File Upload Code ASP.NET + C#</title>
		<link>http://mdrubelbd.wordpress.com/2011/05/03/file-upload-code-asp-net-c/</link>
		<comments>http://mdrubelbd.wordpress.com/2011/05/03/file-upload-code-asp-net-c/#comments</comments>
		<pubDate>Tue, 03 May 2011 10:06:36 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[asp.net c# fileupload]]></category>
		<category><![CDATA[asp.net file upload]]></category>
		<category><![CDATA[file upload]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=91</guid>
		<description><![CDATA[string FilePath = &#8220;&#8221;; string[] a = new string[1]; string fileName = &#8220;&#8221;; string FullName = &#8220;&#8221;; if (FileUploader.FileName.Length &#62; 0) { a = FileUploader.FileName.Split(&#8216;.&#8217;); fileName = Convert.ToString(System.DateTime.Now.Ticks) + &#8220;.&#8221; + a.GetValue(1).ToString(); FilePath = Server.MapPath(@&#8221;~\SavedFolder&#8221;); Fup1.SaveAs(FilePath + @&#8221;\&#8221; + fileName); FullName = FilePath + @&#8221;\&#8221; + fileName; // Database Saved Code }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=91&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>string FilePath = &#8220;&#8221;;<br />
string[] a = new string[1];<br />
string fileName = &#8220;&#8221;;<br />
string FullName = &#8220;&#8221;;</p>
<p>if (FileUploader.FileName.Length &gt; 0)<br />
{<br />
a = FileUploader.FileName.Split(&#8216;.&#8217;);<br />
fileName = Convert.ToString(System.DateTime.Now.Ticks) + &#8220;.&#8221; + a.GetValue(1).ToString();<br />
FilePath = Server.MapPath(@&#8221;~\SavedFolder&#8221;);<br />
Fup1.SaveAs(FilePath + @&#8221;\&#8221; + fileName);</p>
<p>FullName = FilePath + @&#8221;\&#8221; + fileName;<br />
// Database Saved Code<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=91&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2011/05/03/file-upload-code-asp-net-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Find stored procedure</title>
		<link>http://mdrubelbd.wordpress.com/2011/05/03/find-stored-procedure/</link>
		<comments>http://mdrubelbd.wordpress.com/2011/05/03/find-stored-procedure/#comments</comments>
		<pubDate>Tue, 03 May 2011 05:21:49 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[MSSQL SERVER]]></category>
		<category><![CDATA[find sp]]></category>
		<category><![CDATA[stored procedure]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=88</guid>
		<description><![CDATA[DECLARE @StringToSearch varchar(100) SET @StringToSearch = &#8216;Bank&#8217; SET @StringToSearch = &#8216;%&#8217; +@StringToSearch + &#8216;%&#8217; SELECT Distinct SO.Name FROM sysobjects SO (NOLOCK) INNER JOIN syscomments SC (NOLOCK) on SO.Id = SC.ID AND SO.Type = &#8216;P&#8217; AND SC.Text LIKE @StringToSearch ORDER BY SO.Name GO<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=88&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DECLARE @StringToSearch varchar(100)<br />
SET @StringToSearch = &#8216;Bank&#8217;</p>
<p>SET @StringToSearch = &#8216;%&#8217; +@StringToSearch + &#8216;%&#8217;<br />
SELECT Distinct SO.Name<br />
FROM sysobjects SO (NOLOCK)<br />
INNER JOIN syscomments SC (NOLOCK) on SO.Id = SC.ID<br />
AND SO.Type = &#8216;P&#8217;<br />
AND SC.Text LIKE @StringToSearch<br />
ORDER BY SO.Name<br />
GO</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=88&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2011/05/03/find-stored-procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Page Hit counter asp.net,c#</title>
		<link>http://mdrubelbd.wordpress.com/2010/03/16/page-hit-counter-asp-netc/</link>
		<comments>http://mdrubelbd.wordpress.com/2010/03/16/page-hit-counter-asp-netc/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 09:53:04 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[asp.net page hit]]></category>
		<category><![CDATA[easy hit counter c#]]></category>
		<category><![CDATA[hit counter]]></category>
		<category><![CDATA[page hit]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=84</guid>
		<description><![CDATA[.cs page protected void Page_Load(object sender, EventArgs e) { this.countMe(); DataSet tmpDs = new DataSet(); tmpDs.ReadXml(Server.MapPath(&#8220;~/counter.xml&#8221;)); lblCounter.Text = tmpDs.Tables[0].Rows[0]["hits"].ToString(); } private void countMe() { DataSet tmpDs = new DataSet(); tmpDs.ReadXml(Server.MapPath(&#8220;~/counter.xml&#8221;)); int hits = Int32.Parse(tmpDs.Tables[0].Rows[0]["hits"].ToString()); hits += 1; tmpDs.Tables[0].Rows[0]["hits"] = hits.ToString(); tmpDs.WriteXml(Server.MapPath(&#8220;~/counter.xml&#8221;)); } .xml page &#60;?xml version=&#8221;1.0&#8243; standalone=&#8221;yes&#8221;?&#62; &#60;counter&#62; &#60;count&#62; &#60;hits&#62;6&#60;/hits&#62; &#60;/count&#62; &#60;/counter&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=84&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>.cs page</strong></p>
<p>protected void Page_Load(object sender, EventArgs e)</p>
<p>{</p>
<p>this.countMe();<br />
DataSet tmpDs = new DataSet();<br />
tmpDs.ReadXml(Server.MapPath(&#8220;~/counter.xml&#8221;));</p>
<p>lblCounter.Text = tmpDs.Tables[0].Rows[0]["hits"].ToString();</p>
<p>}</p>
<p>private void countMe()<br />
{<br />
DataSet tmpDs = new DataSet();<br />
tmpDs.ReadXml(Server.MapPath(&#8220;~/counter.xml&#8221;));</p>
<p>int hits = Int32.Parse(tmpDs.Tables[0].Rows[0]["hits"].ToString());</p>
<p>hits += 1;</p>
<p>tmpDs.Tables[0].Rows[0]["hits"] = hits.ToString();</p>
<p>tmpDs.WriteXml(Server.MapPath(&#8220;~/counter.xml&#8221;));<br />
}</p>
<p><strong>.xml page</strong></p>
<p>&lt;?xml version=&#8221;1.0&#8243; standalone=&#8221;yes&#8221;?&gt;<br />
&lt;counter&gt;<br />
&lt;count&gt;<br />
&lt;hits&gt;6&lt;/hits&gt;<br />
&lt;/count&gt;<br />
&lt;/counter&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=84&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2010/03/16/page-hit-counter-asp-netc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting folder name from drive and Getting file name from folder in C#</title>
		<link>http://mdrubelbd.wordpress.com/2009/12/03/getting-folder-name-from-drive-and-getting-file-name-from-folder-in-c/</link>
		<comments>http://mdrubelbd.wordpress.com/2009/12/03/getting-folder-name-from-drive-and-getting-file-name-from-folder-in-c/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 05:55:10 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[file name c#]]></category>
		<category><![CDATA[folder name c#]]></category>
		<category><![CDATA[write drive]]></category>
		<category><![CDATA[write file name]]></category>
		<category><![CDATA[write folder name]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=79</guid>
		<description><![CDATA[// Getting foldername from a deive List&#60;string&#62; flist = new List&#60;string&#62;(); DirectoryInfo fdInfo = new DirectoryInfo(@&#8221;Z:\&#8221;); DirectoryInfo[] sdinfo = dInfo.GetDirectories(); TextWriter ftw = new StreamWriter(&#8220;folderinfo.txt&#8221;); foreach (DirectoryInfo subd in sdinfo) { ftw.WriteLine(subd.Name); } ftw.Flush(); ftw.Close(); // Getting filename from a folder List&#60;string&#62; list = new List&#60;string&#62;(); DirectoryInfo dInfo = new DirectoryInfo(@&#8221;Z:\&#8221;); FileInfo[] FilesList = dInfo.GetFiles(); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=79&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>// <strong>Getting foldername from a deive</strong><br />
List&lt;string&gt; flist = new List&lt;string&gt;();<br />
DirectoryInfo fdInfo = new DirectoryInfo(@&#8221;Z:\&#8221;);<br />
DirectoryInfo[] sdinfo = dInfo.GetDirectories();<br />
TextWriter ftw = new StreamWriter(&#8220;folderinfo.txt&#8221;);<br />
foreach (DirectoryInfo subd in sdinfo)<br />
{<br />
ftw.WriteLine(subd.Name);<br />
}<br />
ftw.Flush();<br />
ftw.Close();</p>
<p>// <strong>Getting filename from a folder</strong><br />
List&lt;string&gt; list = new List&lt;string&gt;();<br />
DirectoryInfo dInfo = new DirectoryInfo(@&#8221;Z:\&#8221;);<br />
FileInfo[] FilesList = dInfo.GetFiles();<br />
TextWriter tw = new StreamWriter(&#8220;fileName.txt&#8221;);<br />
foreach (FileInfo fi in FilesList)<br />
{<br />
tw.WriteLine(fi.Name);<br />
}<br />
tw.Flush();<br />
tw.Close();</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=79&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2009/12/03/getting-folder-name-from-drive-and-getting-file-name-from-folder-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Password Generator</title>
		<link>http://mdrubelbd.wordpress.com/2009/11/21/password-generator/</link>
		<comments>http://mdrubelbd.wordpress.com/2009/11/21/password-generator/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 07:49:50 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C# password Generator]]></category>
		<category><![CDATA[Password Generator]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=76</guid>
		<description><![CDATA[protected void btnGenerate_Click(object sender, EventArgs e) { string allowedChars = &#8220;&#8221;; allowedChars = &#8220;a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,&#8221;; allowedChars += &#8220;A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,&#8221;; allowedChars += &#8220;1,2,3,4,5,6,7,8,9,0&#8243;; char[] sep = { &#8216;,&#8217; }; string[] arr = allowedChars.Split(sep); string passwordString = &#8220;&#8221;; string temp = &#8220;&#8221;; Random rand = new Random(); for (int i = 0; i &#60; 6; i++) { temp = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=76&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>protected void btnGenerate_Click(object sender, EventArgs e)<br />
        {<br />
            string allowedChars = &#8220;&#8221;;<br />
            allowedChars = &#8220;a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,&#8221;;<br />
            allowedChars += &#8220;A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,&#8221;;<br />
            allowedChars += &#8220;1,2,3,4,5,6,7,8,9,0&#8243;;</p>
<p>            char[] sep = { &#8216;,&#8217; };<br />
            string[] arr = allowedChars.Split(sep);<br />
            string passwordString = &#8220;&#8221;;<br />
            string temp = &#8220;&#8221;;</p>
<p>            Random rand = new Random();<br />
            for (int i = 0; i &lt; 6; i++)<br />
            {<br />
                temp = arr[rand.Next(0, arr.Length)];<br />
                passwordString += temp;<br />
            }<br />
            txtPassword.Text = passwordString;<br />
        }</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=76&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2009/11/21/password-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Email Trace &#8211; Email Tracking</title>
		<link>http://mdrubelbd.wordpress.com/2009/10/31/email-trace-email-tracking/</link>
		<comments>http://mdrubelbd.wordpress.com/2009/10/31/email-trace-email-tracking/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 09:08:46 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[other...]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=64</guid>
		<description><![CDATA[Simply Copy and Paste below the email header of the message into the box below on this page to trace an email. This email tracer pinpoints the location of the senders IP address. · Yahoo Mail 1. Right click on the message 2. Click”Show Full Header&#8221; 3. Now you can copy and paste the Email [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=64&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Simply Copy and Paste below the <strong>email header</strong> of the message into the box below on this page to trace an email. This email tracer pinpoints the location of the senders IP address.</p>
<ul>
<li>· Yahoo<strong> Mail</strong><br />
1. Right click on the message<br />
2. Click”Show Full Header&#8221;<br />
3. Now you can copy and paste the Email header</li>
</ul>
<ul>
<li>· Google<strong> Mail &#8211; Gmail</strong></li>
</ul>
<ol>
<li>Open the mail.</li>
<li>To display the email headers      click on the inverted triangle beside <strong>Reply</strong>. Then select <strong>Show Original</strong>.</li>
<li>You may can now copy the headers</li>
</ol>
<p><a rel="attachment wp-att-71" href="http://mdrubelbd.wordpress.com/2009/10/31/email-trace-email-tracking/6-2/"><img class="alignnone size-medium wp-image-71" title="images" src="http://mdrubelbd.files.wordpress.com/2009/10/61.jpg?w=300&#038;h=236" alt="images" width="300" height="236" /></a></p>
<p><a>Copy the mail and paste </a><a href="http://www.ip-adress.com/trace_email/">http://www.ip-adress.com/trace_email/</a> text box</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=64&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2009/10/31/email-trace-email-tracking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>

		<media:content url="http://mdrubelbd.files.wordpress.com/2009/10/61.jpg?w=300" medium="image">
			<media:title type="html">images</media:title>
		</media:content>
	</item>
		<item>
		<title>Safe your Login info Guard Against Request !!</title>
		<link>http://mdrubelbd.wordpress.com/2009/08/24/safe-your-login-info-guard-against-request/</link>
		<comments>http://mdrubelbd.wordpress.com/2009/08/24/safe-your-login-info-guard-against-request/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 07:06:55 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MSSQL SERVER]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=61</guid>
		<description><![CDATA[Use the method in your User textbox and Password textbox As like:: String loginID = GuardAgainstRequest(tbxUserID.Text.Trim()); String loginPass =GuardAgainstRequest(tbxPass.Text.Trim()); public static string GuardAgainstRequest(string reqString) { if (reqString != null) { string[] strToReplace = {&#8220;select&#8221;, &#8220;drop&#8221;, &#8220;update&#8221;, &#8220;delete&#8221;, &#8220;xp_&#8221;, &#8220;insert&#8221;, &#8220;&#8211;&#8221;, &#8220;;&#8221;, &#8220;\&#8221;", &#8220;=&#8221;, &#8220;/&#8221;, &#8220;\\&#8221;, &#8220;()&#8221;, &#8220;^&#8221;, &#8220;~&#8221;, &#8220;`&#8221;, &#8220;&#8216;&#8221;, &#8220;&#8221;&#8221;}; for (int i =0; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=61&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Use the</strong> method in your <strong>User</strong> textbox and <strong>Password</strong> textbox</p>
<p><em><strong>As like::</strong></em><br />
String loginID = GuardAgainstRequest(tbxUserID.Text.Trim());<br />
String loginPass =GuardAgainstRequest(tbxPass.Text.Trim());</p>
<p>public static string GuardAgainstRequest(string reqString)<br />
{<br />
if (reqString != null)<br />
{<br />
string[] strToReplace = {&#8220;select&#8221;, &#8220;drop&#8221;, &#8220;update&#8221;, &#8220;delete&#8221;, &#8220;xp_&#8221;, &#8220;insert&#8221;, &#8220;&#8211;&#8221;, &#8220;;&#8221;, &#8220;\&#8221;", &#8220;=&#8221;, &#8220;/&#8221;, &#8220;\\&#8221;, &#8220;()&#8221;, &#8220;^&#8221;, &#8220;~&#8221;, &#8220;`&#8221;, &#8220;&#8216;&#8221;, &#8220;&#8221;&#8221;};</p>
<p>for (int i =0; i &lt; strToReplace.Length; i++)<br />
{<br />
if (strToReplace[i] == &#8220;&#8211;&#8221;)<br />
{<br />
reqString = reqString.Replace(strToReplace[i], &#8220;..&#8221;);<br />
}<br />
else if (strToReplace[i] == &#8220;&#8216;&#8221;)<br />
{<br />
reqString = reqString.Replace(strToReplace[i], &#8220;&#8221;&#8221;);<br />
}<br />
else<br />
{<br />
reqString = reqString.Replace(strToReplace[i], &#8220;?&#8221;);<br />
}<br />
}<br />
return reqString;<br />
}<br />
else<br />
{<br />
return null;<br />
}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=61&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2009/08/24/safe-your-login-info-guard-against-request/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Get first day and last day year in C# .net</title>
		<link>http://mdrubelbd.wordpress.com/2009/08/16/get-first-day-and-last-day-year-in-c-net/</link>
		<comments>http://mdrubelbd.wordpress.com/2009/08/16/get-first-day-and-last-day-year-in-c-net/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 04:13:15 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Get first day]]></category>
		<category><![CDATA[last day on the year C# .net]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=55</guid>
		<description><![CDATA[nMupYear.Enabled = true; DateTime _From = new DateTime(Convert.ToInt32(nMupYear.Value),1,1); DateTime _to = new DateTime(Convert.ToInt32(nMupYear.Value),12,31); dtPickerDtFrom.Value = _From.Date; dtPickerDtTo.Value = _to.Date;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=55&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>nMupYear.Enabled = true;</p>
<p>DateTime _From = new DateTime(Convert.ToInt32(nMupYear.Value),1,1);<br />
DateTime _to = new DateTime(Convert.ToInt32(nMupYear.Value),12,31);</p>
<p>dtPickerDtFrom.Value = _From.Date;<br />
dtPickerDtTo.Value = _to.Date;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=55&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2009/08/16/get-first-day-and-last-day-year-in-c-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Get first day and last day on the month in C# .Net</title>
		<link>http://mdrubelbd.wordpress.com/2009/08/16/get-first-day-and-last-day-on-the-month-in-c/</link>
		<comments>http://mdrubelbd.wordpress.com/2009/08/16/get-first-day-and-last-day-on-the-month-in-c/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 04:08:30 +0000</pubDate>
		<dc:creator>mdrubelbd</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[First day month]]></category>
		<category><![CDATA[last day month C#]]></category>

		<guid isPermaLink="false">http://mdrubelbd.wordpress.com/?p=50</guid>
		<description><![CDATA[First Day dtPickerDtFrom.Value = new DateTime(Convert.ToInt32(nMupYear.Value), Convert.ToInt32(cBxMonth.SelectedIndex + 1), 1) Last Day dtPickerDtTo.Value =   dtPickerDtFrom.Value.AddMonths(1).AddDays(-1);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=50&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>First Day</strong></p>
<p>dtPickerDtFrom.Value = new DateTime(Convert.ToInt32(nMupYear.Value), Convert.ToInt32(cBxMonth.SelectedIndex + 1), 1)</p>
<p><strong>Last Day</strong></p>
<p>dtPickerDtTo.Value =   dtPickerDtFrom.Value.AddMonths(1).AddDays(-1);</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdrubelbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdrubelbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdrubelbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdrubelbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdrubelbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdrubelbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdrubelbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdrubelbd.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdrubelbd.wordpress.com&amp;blog=6278824&amp;post=50&amp;subd=mdrubelbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdrubelbd.wordpress.com/2009/08/16/get-first-day-and-last-day-on-the-month-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/87345f0227b51a811efcc2eb556b2112?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdrubelbd</media:title>
		</media:content>
	</item>
	</channel>
</rss>
