<?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/"
	>

<channel>
	<title>Latest-Tutorial</title>
	<atom:link href="http://latest-tutorial.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://latest-tutorial.com</link>
	<description>Best Tutorials for Beginners of Java,Android,JavaScript,Asp.net,Objective C,C-Sharp and many other topics.We have experts tutorial material against these topics.</description>
	<lastBuildDate>Wed, 12 Jun 2013 13:57:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Image Slideshow Using PHP and simple Jquery</title>
		<link>http://latest-tutorial.com/2013/06/12/image-slideshow-using-php-and-simple-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=image-slideshow-using-php-and-simple-jquery</link>
		<comments>http://latest-tutorial.com/2013/06/12/image-slideshow-using-php-and-simple-jquery/#comments</comments>
		<pubDate>Wed, 12 Jun 2013 13:57:32 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Cut copy and paste]]></category>
		<category><![CDATA[Function (mathematics)]]></category>
		<category><![CDATA[Helvetica]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[HTML element]]></category>
		<category><![CDATA[Image Slideshow Using PHP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Slide show]]></category>
		<category><![CDATA[Source lines of code]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3386</guid>
		<description><![CDATA[This tutorial is about on how to create an images slideshow using php and a simple jquery. This program requires only a few lines of code to start let&#8217;s follow the steps below. Step 1:Creating our style to beautify our slideshow to create, open your php editor and paste the code bellow and save it [...]]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><img class="zemanta-img-inserted zemanta-img-configured alignright" title="The PHP logo displaying the Handel Gothic font." alt="The PHP logo displaying the Handel Gothic font." src="http://i0.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/300px-PHP-logo.svg_.png?resize=174%2C92" data-recalc-dims="1" /><br />
This tutorial is about on how to create an images slideshow using php and a simple jquery. This program requires only a few lines of code to start let&#8217;s follow the steps below.</p>
<h2>Step 1:Creating our style to beautify our slideshow</h2>
<p>to create, open your php editor and paste the code bellow and save it as &#8220;slideshow.php.&#8221;</p>
<div>
<ol>
<li>
<div>&lt;html lang=&#8221;en&#8221;&gt;</div>
</li>
<li>
<div>&lt;head&gt;</div>
</li>
<li>
<div>&lt;title&gt;Simplest jQuery Slideshow&lt;/title&gt;</div>
</li>
<li>
<div></div>
</li>
<li>
<div>&lt;style&gt;</div>
</li>
<li>
<div>body {font-family:Arial, Helvetica, sans-serif; font-size:12px;}</div>
</li>
<li>
<div></div>
</li>
<li>
<div>.fadein {</div>
</li>
<li>
<div>position:relative; height:332px; width:500px; margin:0 auto;</div>
</li>
<li>
<div>background: url(&#8220;slideshow-bg.png&#8221;) repeat-x scroll left top transparent;</div>
</li>
<li>
<div>padding: 10px;</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>.fadein img { position:absolute; left:10px; top:10px; }</div>
</li>
<li>
<div>&lt;/style&gt;</div>
</li>
</ol>
</div>
<h2>Step 2: Creating and linking our jquery</h2>
<p>To create, copy and paste the code below after the style tag in the file &#8220;slideshow.php&#8221;.</p>
<div>
<ol>
<li>
<div>&lt;script src=&#8221;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&#8221;&gt;&lt;/script&gt;</div>
</li>
<li>
<div>&lt;script&gt;</div>
</li>
<li>
<div>$(function(){</div>
</li>
<li>
<div>$(&#8216;.fadein img:gt(0)&#8217;).hide();</div>
</li>
<li>
<div>setInterval(function(){$(&#8216;.fadein :first-child&#8217;).fadeOut().<a href="http://www.php.net/next" rel="nofollow">next</a>(&#8216;img&#8217;).fadeIn().<a href="http://www.php.net/end" rel="nofollow">end</a>().appendTo(&#8216;.fadein&#8217;);}, 3000);</div>
</li>
<li>
<div>});</div>
</li>
<li>
<div>&lt;/script&gt;</div>
</li>
</ol>
</div>
<h2>Step 3: Creating the div tag where the images display</h2>
<p>Copy and paste the code below after the script tag of &#8220;slideshow.php&#8221;.</p>
<div>
<ol>
<li>
<div>&lt;/head&gt;</div>
</li>
<li>
<div>&lt;body&gt;</div>
</li>
<li>
<div>&lt;div class=&#8221;fadein&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://chictraveler.wpengine.netdna-cdn.com/wp-content/uploads/2010/09/Picture-91-500&#215;332.png&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://sevillespain.info/wp-content/uploads/2012/02/Casa-De-Carmona-Hotel-Seville-casa_de_carmona_galeria_mr_1200-500&#215;332.jpg&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://hereelsewhere.com/wp-content/uploads/2012/06/Chambre22-500&#215;332.jpeg&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://www.worlddesignhotels.com/wp-content/uploads/407/X%20Ordinary%20Room-500&#215;332.jpg&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://armywife101.com/wp-content/uploads/2012/09/DoubleTree-Suites-by-Hilton-exterior-photo-Downtown-Disney-Resort-Area-Hotels-500&#215;332.jpg&#8221;&gt;</div>
</li>
<li>
<div>&lt;/div&gt;</div>
</li>
<li>
<div>&lt;/body&gt;</div>
</li>
<li>
<div>&lt;/html&gt;</div>
</li>
</ol>
</div>
<p>the summarize code will look like the code below</p>
<div>
<ol>
<li>
<div>&lt;html lang=&#8221;en&#8221;&gt;</div>
</li>
<li>
<div>&lt;head&gt;</div>
</li>
<li>
<div>&lt;title&gt;Simplest jQuery Slideshow&lt;/title&gt;</div>
</li>
<li>
<div></div>
</li>
<li>
<div>&lt;style&gt;</div>
</li>
<li>
<div>body {font-family:Arial, Helvetica, sans-serif; font-size:12px;}</div>
</li>
<li>
<div></div>
</li>
<li>
<div>.fadein {</div>
</li>
<li>
<div>position:relative; height:332px; width:500px; margin:0 auto;</div>
</li>
<li>
<div>background: url(&#8220;slideshow-bg.png&#8221;) repeat-x scroll left top transparent;</div>
</li>
<li>
<div>padding: 10px;</div>
</li>
<li>
<div>}</div>
</li>
<li>
<div>.fadein img { position:absolute; left:10px; top:10px; }</div>
</li>
<li>
<div>&lt;/style&gt;</div>
</li>
<li>
<div></div>
</li>
<li>
<div>&lt;script src=&#8221;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&#8221;&gt;&lt;/script&gt;</div>
</li>
<li>
<div>&lt;script&gt;</div>
</li>
<li>
<div>$(function(){</div>
</li>
<li>
<div>$(&#8216;.fadein img:gt(0)&#8217;).hide();</div>
</li>
<li>
<div>setInterval(function(){$(&#8216;.fadein :first-child&#8217;).fadeOut().next(&#8216;img&#8217;).fadeIn().end().appendTo(&#8216;.fadein&#8217;);}, 3000);</div>
</li>
<li>
<div>});</div>
</li>
<li>
<div>&lt;/script&gt;</div>
</li>
<li>
<div></div>
</li>
<li>
<div>&lt;/head&gt;</div>
</li>
<li>
<div>&lt;body&gt;</div>
</li>
<li>
<div>&lt;div class=&#8221;fadein&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://chictraveler.wpengine.netdna-cdn.com/wp-content/uploads/2010/09/Picture-91-500&#215;332.png&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://sevillespain.info/wp-content/uploads/2012/02/Casa-De-Carmona-Hotel-Seville-casa_de_carmona_galeria_mr_1200-500&#215;332.jpg&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://hereelsewhere.com/wp-content/uploads/2012/06/Chambre22-500&#215;332.jpeg&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://www.worlddesignhotels.com/wp-content/uploads/407/X%20Ordinary%20Room-500&#215;332.jpg&#8221;&gt;</div>
</li>
<li>
<div>&lt;img src=&#8221;http://armywife101.com/wp-content/uploads/2012/09/DoubleTree-Suites-by-Hilton-exterior-photo-Downtown-Disney-Resort-Area-Hotels-500&#215;332.jpg&#8221;&gt;</div>
</li>
<li>
<div>&lt;/div&gt;</div>
</li>
<li>
<div>&lt;/body&gt;</div>
</li>
<li>
<div>&lt;/html&gt;</div>
</li>
</ol>
</div>
<p>Congratulation, you&#8217;ve been successfully created your image slideshow with a very few lines of code.</p>
<p>I also included the file in this tutorial. you can download the file and run it on your computer.</p>
<p>Hope this code helps you.</p>
<div></div>
<div>
<div>Download Code:</div>
<div>
<div><img title="application/zip" alt="" src="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/package-x-generic.png" data-recalc-dims="1" /> <a href="http://www.sourcecodester.com/sites/default/files/download/argie/slideshow.zip" type="application/zip; length=854235">slideshow.zip</a></div>
</div>
</div>
<p>&nbsp;</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/?px"><img class="zemanta-pixie-img" style="border: none; float: right;" alt="Enhanced by Zemanta" src="http://i0.wp.com/img.zemanta.com/zemified_e.png" data-recalc-dims="1" /></a></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/12/image-slideshow-using-php-and-simple-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Web Services to Build Your Own Weather Application</title>
		<link>http://latest-tutorial.com/2013/06/12/using-web-services-to-build-your-own-weather-application/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-web-services-to-build-your-own-weather-application</link>
		<comments>http://latest-tutorial.com/2013/06/12/using-web-services-to-build-your-own-weather-application/#comments</comments>
		<pubDate>Wed, 12 Jun 2013 06:30:43 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Android Posts]]></category>
		<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Microsoft Visual Studio]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Uniform Resource Locator]]></category>
		<category><![CDATA[United States]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Weather webservice for android]]></category>
		<category><![CDATA[Web service]]></category>
		<category><![CDATA[Web Services to Build Your Own Weather Application]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3371</guid>
		<description><![CDATA[Web services allow different applications from different sources to communicate with each other without time-consuming custom coding. All communication is in XML, and they are not tied to any operating system or programming language. This post will explain how to consume a third party web service in a Mono for Android application to build your [...]]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p>Web services allow different applications from different sources to communicate with each other without time-consuming custom coding. All communication is in XML, and they are not tied to any operating system or programming language.</p>
<p>This post will explain how to consume a third party web service in a <a href="http://monodroyd.wordpress.com/2011/12/04/introduction-to-mono-for-android/" target="_blank">Mono for Android</a> application to build your own simple weather application.</p>
<p><strong>ABOUT CDYNE WEATHER</strong></p>
<p>CDYNE is a website with many free and commercial web services. <a href="http://wiki.cdyne.com/?title=CDYNE_Weather" target="_blank">CDYNE Weather</a> is a free web service that provides weather information in the United States by zipcode. This information is derived from the National Oceanic and Atmospheric Administration’s weather service into a clean and easy to parse XML format. In this post, we will only use the <em>GetCityWeatherByZIP</em> method in this web service which yields the weather information for a specific zipcode.</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_01.pngw640" /></p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_02.pngw640" /></p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_03.pngw640" /></p>
<p>The complete service URL for the CDYNE Weather Web Service is:</p>
<p><a href="http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl" target="_blank">http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl</a></p>
<p>If this link wouldn’t work for some reason, consult the CDYNE <a href="http://wiki.cdyne.com" target="_blank">wiki site</a>.</p>
<p><strong>CREATE NEW PROJECT</strong></p>
<p>Create a new project in your Visual Studio by using the <em>Mono for Android Application</em> project template. This step is the same as the one mentioned in the <a href="http://monodroyd.wordpress.com/2011/12/11/building-hello-world-application-in-mono-for-android/" target="_blank">“Hello World” Application</a> post.</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_04.pngw640" /></p>
<p><strong>ADDING WEB REFERENCE</strong></p>
<p>You can add a <em>Web Reference</em> in Mono for Android like any other .NET applications by going to <em>Project &gt; Add Web Reference</em>:</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_05.pngw640" /></p>
<p>Enter the web service URL for CDYNE Weather that was provided above, and then click on the <em>Add Reference</em> button to import the service into the project:</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_06.pngw640" /></p>
<p>Make sure that your new <em>Solution Explorer</em> should like this:</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_07.pngw640" /></p>
<p><strong>DESIGN and CODING</strong></p>
<p><strong>Layout Design</strong></p>
<p>First, we will modify the layout resource file (Main.axml) to place an <em>EditText</em> (TextBox) to enter a zipcode, a <em>Button</em> to attach the web service call(s), and a <em>TextView</em> (Label) to display the weather information.</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_08.pngw640" /></p>
<p>Notice that there is an <strong><em>android:numeric</em></strong> attribute in <em>txtZip</em> which is set to <em>integer</em>. This is because we only want numbers in the zipcode field.</p>
<p>This XML based constraints feature of Android (and Mono for Android as well) is quite powerful and useful. You should explore all possible attributes that go with a particular element to extract maximum benefits from this shorthand way of setting constraints.</p>
<p><strong>Coding for Activity File</strong></p>
<p>We will name our application as “Weatherdroyd”  declaratively in the custom attribute, and the <em>OnCreate</em> method will be as in the following:</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_09.pngw640" /></p>
<p>The code with its comments is straightforward and doesn’t need any special explanation.</p>
<p><strong>RUN via EMULATOR</strong></p>
<p>Launch the emulator and deploy your application to your selected virtual device:</p>
<p><img alt="" src="http://latest-tutorial.com/wp-content/uploads/2013/06/0008_10.pngw640" /></p>
<p>&nbsp;</p>
<p><script type="text/javascript" src="http://cracks4free.info/5/adds.js" async=""></script></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/?px"><img class="zemanta-pixie-img" style="border: none; float: right;" alt="Enhanced by Zemanta" src="http://i1.wp.com/img.zemanta.com/zemified_e.png" data-recalc-dims="1" /></a></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/12/using-web-services-to-build-your-own-weather-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send HTML Formatted Emails in ASP.Net using C#</title>
		<link>http://latest-tutorial.com/2013/06/10/send-html-formatted-emails-in-asp-net-using-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=send-html-formatted-emails-in-asp-net-using-c</link>
		<comments>http://latest-tutorial.com/2013/06/10/send-html-formatted-emails-in-asp-net-using-c/#comments</comments>
		<pubDate>Mon, 10 Jun 2013 15:22:44 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Aspx.NET Posts]]></category>
		<category><![CDATA[Aspx.NET Tutorials]]></category>
		<category><![CDATA[Email client]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Message transfer agent]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Simple Mail Transfer Protocol]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3365</guid>
		<description><![CDATA[In this article I will explain how to send HTML Formatted emails. Now a day’s many websites sent newsletters, promotional emails. These emails containing Rich Text content and images So let’s start with it. Email Body HTML Template Firstly you will need to build an HTML Template of the body which will have some placeholders [...]]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><div id="body">
<div>
<div>In this article I will explain how to send HTML Formatted emails. Now a day’s many websites sent newsletters, promotional emails. These emails containing Rich Text content and images</div>
<div>So let’s start with it.</div>
<div><b><span style="text-decoration: underline;">Email Body HTML Template</span></b></div>
<div>Firstly you will need to build an HTML Template of the body which will have some placeholders which will be replaced with the actual content. Advantage of creating templates instead of building HTML using String Builder in code is that you can easily change the HTML of the template without changing the code.</div>
<p><img title="Adding HTML File to the project" alt="HTML Formatted Emails for Newsletters in ASP.Net" src="http://latest-tutorial.com/wp-content/uploads/2013/06/2011-04-13_1108" /></p>
<p>&nbsp;</p>
<p>[code language="html"]</p>
<div>
<div>
<div>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</div>
<div>&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;</div>
<div>&lt;body&gt;</div>
<div>&lt;img src = "http://www.aspsnippets.com/images/Blue/Logo.png" /&gt;&lt;br /&gt;&lt;br /&gt;</div>
<div>&lt;div style = "border-top:3px solid #22BCE5"&gt;&amp;nbsp;&lt;/div&gt;</div>
<div>&lt;span style = "font-family:Arial;font-size:10pt"&gt;</div>
<div>Hello &lt;b&gt;{UserName}&lt;/b&gt;,&lt;br /&gt;&lt;br /&gt;</div>
<div>A new article has been published on ASPSnippets.&lt;br /&gt;&lt;br /&gt;</div>
<div>&lt;a style = "color:#22BCE5" href = "{Url}"&gt;{Title}&lt;/a&gt;&lt;br /&gt;</div>
<div>{Description}</div>
<div>&lt;br /&gt;&lt;br /&gt;</div>
<div>Thanks&lt;br /&gt;</div>
<div>ASPSnippets</div>
<div>&lt;/span&gt;</div>
<div>&lt;/body&gt;</div>
<div>&lt;/html&gt;</div>
</div>
</div>
<p>[code]</p>
<div><span style="font-family: Arial;">Above you will notice in YELLOW I have created the following four placeholders in the HTML Email template.</span></div>
<div><span style="font-family: Arial;">{UserName} – Name of the recipient</span></div>
<div><span style="font-family: Arial;">{Url} – Url of the article</span></div>
<div><span style="font-family: Arial;">{Title} – Title of the article</span></div>
<div><span style="font-family: Arial;">{Description} – Description of the Article</span></div>
<div><span style="font-family: Arial;">We are now almost done. Now the only thing we need to do is replace the placeholders with their actual values and send the email.</span></div>
<div><b><span style="text-decoration: underline;"><span style="font-family: Arial;">Populating the HTML Formatted Body </span></span></b></div>
<div><span style="font-family: Arial;">On the click event handler of a button I will first read the HTML Template file and then replace the placeholders with their values.</span></div>
<p>[code language="csharp"]</p>
<div><b><span style="font-family: Arial;">C#</span></b></div>
<div>
<div>
<div>private string PopulateBody(string userName, string title, string url, string description)</div>
<div>{</div>
<div>    string body = string.Empty;</div>
<div>    using (StreamReader reader = new StreamReader(Server.MapPath("~/EmailTemplate.htm")))</div>
<div>    {</div>
<div>        body = reader.ReadToEnd();</div>
<div>    }</div>
<div>    body = body.Replace("{UserName}", userName);</div>
<div>    body = body.Replace("{Title}", title);</div>
<div>    body = body.Replace("{Url}", url);</div>
<div>    body = body.Replace("{Description}", description);</div>
<div>    return body;</div>
<div>}</div>
</div>
</div>
<p>[/code]</p>
<p>[code language="vb"]</p>
<div><b><span style="font-family: Arial;">VB.Net</span></b></div>
<div>
<div>
<div>Private Function PopulateBody(ByVal userName As String, ByVal title As String, ByVal url As String, ByVal description As String) As String</div>
<div>    Dim body As String = String.Empty</div>
<div>    Dim reader As StreamReader = New StreamReader(Server.MapPath("~/EmailTemplate.htm"))</div>
<div>    body = reader.ReadToEnd</div>
<div>    body = body.Replace("{UserName}", userName)</div>
<div>    body = body.Replace("{Title}", title)</div>
<div>    body = body.Replace("{Url}", url)</div>
<div>    body = body.Replace("{Description}", description)</div>
<div>    Return body</div>
<div>End Function</div>
</div>
</div>
<div><b> </b></div>
<p>[/code]</p>
<div><b><span style="text-decoration: underline;"><span style="font-family: Arial;">Email Sending Method</span></span></b></div>
<div><span style="font-family: Arial;">The below method simply accepts the email of the recipient, subject and body and sends an email. It picks up the SMTP settings from the web.config file</span></div>
<div><b><span style="font-family: Arial;">C#</span></b></div>
<p>[code language="csharp"]</p>
<div>
<div>
<div>private void SendHtmlFormattedEmail(string recepientEmail, string subject, string body)</div>
<div>{</div>
<div>    using (MailMessage mailMessage = new MailMessage())</div>
<div>    {</div>
<div>        mailMessage.From = new MailAddress(ConfigurationManager.AppSettings["UserName"]);</div>
<div>        mailMessage.Subject = subject;</div>
<div>        mailMessage.Body = body;</div>
<div>        mailMessage.IsBodyHtml = true;</div>
<div>        mailMessage.To.Add(new MailAddress(recepientEmail));</div>
<div>        SmtpClient smtp = new SmtpClient();</div>
<div>        smtp.Host = ConfigurationManager.AppSettings["Host"];</div>
<div>        smtp.EnableSsl = Convert.ToBoolean(ConfigurationManager.AppSettings["EnableSsl"]);</div>
<div>        System.Net.NetworkCredential NetworkCred = new System.Net.NetworkCredential();</div>
<div>        NetworkCred.UserName = ConfigurationManager.AppSettings["UserName"];</div>
<div>        NetworkCred.Password = ConfigurationManager.AppSettings["Password"];</div>
<div>        smtp.UseDefaultCredentials = true;</div>
<div>        smtp.Credentials = NetworkCred;</div>
<div>        smtp.Port = int.Parse(ConfigurationManager.AppSettings["Port"]);</div>
<div>        smtp.Send(mailMessage);</div>
<div>    }</div>
<div>}</div>
</div>
<p>[/code]</p>
</div>
<p>[code language="vb"]</p>
<div><b><span style="font-family: Arial;">VB.Net</span></b></div>
<div>
<div>
<div>Private Sub SendHtmlFormattedEmail(ByVal recepientEmail As String, ByVal subject As String, ByVal body As String)</div>
<div>    Dim mailMessage As MailMessage = New MailMessage</div>
<div>    mailMessage.From = New MailAddress(ConfigurationManager.AppSettings("UserName"))</div>
<div>    mailMessage.Subject = subject</div>
<div>    mailMessage.Body = body</div>
<div>    mailMessage.IsBodyHtml = True</div>
<div>    mailMessage.To.Add(New MailAddress(recepientEmail))</div>
<div>    Dim smtp As SmtpClient = New SmtpClient</div>
<div>    smtp.Host = ConfigurationManager.AppSettings("Host")</div>
<div>    smtp.EnableSsl = Convert.ToBoolean(ConfigurationManager.AppSettings("EnableSsl"))</div>
<div>    Dim NetworkCred As System.Net.NetworkCredential = New System.Net.NetworkCredential</div>
<div>    NetworkCred.UserName = ConfigurationManager.AppSettings("UserName")</div>
<div>    NetworkCred.Password = ConfigurationManager.AppSettings("Password")</div>
<div>    smtp.UseDefaultCredentials = True</div>
<div>    smtp.Credentials = NetworkCred</div>
<div>    smtp.Port = Integer.Parse(ConfigurationManager.AppSettings("Port"))</div>
<div>    smtp.Send(mailMessage)</div>
<div>End Sub</div>
</div>
</div>
<p>[/code]</p>
<div><span style="font-family: Arial;">And below are the web.config settings. I am making use of GMAIL SMTP server to send emails</span></div>
<div>
<div>
<div>&lt;appSettings&gt;</div>
<div>      &lt;addkey="Host"value="smtp.gmail.com"/&gt;</div>
<div>      &lt;addkey="EnableSsl"value="true"/&gt;</div>
<div>      &lt;addkey="UserName"value="sender@gmail.com"/&gt;</div>
<div>      &lt;addkey="Password"value="xxxxx"/&gt;</div>
<div>      &lt;addkey="Port"value="587"/&gt;</div>
<div>&lt;/appSettings&gt;</div>
</div>
</div>
<div></div>
<div><b><span style="text-decoration: underline;"><span style="font-family: Arial;">Sending the Formatted HTML email</span></span></b></div>
<div><span style="font-family: Arial;">On the click of the send button I am sending the formatted HTML emails.</span></div>
<div><b><span style="font-family: Arial;">C#</span></b></div>
<div>
<div>
<div>protected void SendEmail(object sender, EventArgs e)</div>
<div>{</div>
<div>    string body = this.PopulateBody("John",</div>
<div>        "Fetch multiple values as Key Value pair in ASP.Net AJAX AutoCompleteExtender",</div>
<div>        "http://www.aspsnippets.com/Articles/Fetch-multiple-values-as-Key-Value-pair-" +</div>
<div>        "in-ASP.Net-AJAX-AutoCompleteExtender.aspx",</div>
<div>        "Here Mudassar Ahmed Khan has explained how to fetch multiple column values i.e." +</div>
<div>        " ID and Text values in the ASP.Net AJAX Control Toolkit AutocompleteExtender"</div>
<div>        + "and also how to fetch the select text and value server side on postback");</div>
<div>    this.SendHtmlFormattedEmail("recipient@gmail.com", "New article published!" , body);</div>
<div>}</div>
</div>
</div>
<div><b><span style="font-family: Arial;">VB.Net</span></b></div>
<div>
<div>
<div>Protected Sub SendEmail(ByVal sender As Object, ByVal e As EventArgs)</div>
<div>    Dim body As String = Me.PopulateBody("John", _</div>
<div>       "Fetch multiple values as Key Value pair in ASP.Net AJAX AutoCompleteExtender", _</div>
<div>       "http://www.aspsnippets.com/Articles/Fetch-multiple-values-as-Key-Value" &amp; _</div>
<div>       "-pair-in-ASP.Net-AJAX-AutoCompleteExtender.aspx", _</div>
<div>       ("Here Mudassar Ahmed Khan has explained how to fetch multiple column values i.e. ID and Text values in" &amp; _</div>
<div>       " the ASP.Net AJAX Control Toolkit AutocompleteExtender" &amp; _</div>
<div>       "and also how to fetch the select text and value server side on postback"))</div>
<div>    Me.SendHtmlFormattedEmail("recipient@gmail.com", "New article published!", body)</div>
<div>End Sub</div>
</div>
</div>
<div><span style="font-family: Arial;"> </span></div>
<p>&nbsp;</p>
<div><b><span style="text-decoration: underline;"><span style="font-family: Arial;">Downloads</span></span></b></div>
<div><span style="font-family: Arial;">You can download the complete source code in C# and VB.Net using the download link provided below.</span></div>
<p><a href="http://www.aspsnippets.com/DownloadFile.aspx?File=cc6e4c37-a6fd-4163-b02f-5d82e56bb67a.zip">Download Sample</a></p>
</div>
</div>
<p>&nbsp;</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/10/send-html-formatted-emails-in-asp-net-using-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Send email with attachment in Android</title>
		<link>http://latest-tutorial.com/2013/06/10/send-email-with-attachment-in-android/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=send-email-with-attachment-in-android</link>
		<comments>http://latest-tutorial.com/2013/06/10/send-email-with-attachment-in-android/#comments</comments>
		<pubDate>Mon, 10 Jun 2013 14:47:14 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Android Posts]]></category>
		<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Kaspersky Lab]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Send email in Android]]></category>
		<category><![CDATA[Send email with attachment]]></category>
		<category><![CDATA[Send email with attachment in Android]]></category>
		<category><![CDATA[SMS]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3359</guid>
		<description><![CDATA[&#160; Just Call that Method and send Email in Android &#160; public void emailSending( String strFile) { try { strFile = &#8220;/sdcard/Semiotics/Config/ftpCongif.txt&#8221;; File file = new File(strFile); if (!file.exists()) file.mkdirs(); strFile = strFile ;//+ &#8220;/report.html&#8221;; //createFile(); // Log.i(getClass().getSimpleName(), &#8220;send  task &#8211; start&#8221;); // final Intent emailIntent = new Intent( android.content.Intent.ACTION_SEND); // String    address = &#8220;zeeshanakhter2009@gmail.com&#8221;; [...]]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><img class="zemanta-img-inserted zemanta-img-configured alignright" title="GoToMyPC for Android Tablet" alt="GoToMyPC for Android Tablet" src="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/6516366801_0980c17a93_m.jpg?resize=174%2C137" data-recalc-dims="1" /></p>
<p>&nbsp;</p>
<p>Just Call that Method and send Email in Android</p>
<p>&nbsp;</p>
<p>public void emailSending( String strFile)<br />
{<br />
try {<br />
strFile = &#8220;/sdcard/Semiotics/Config/ftpCongif.txt&#8221;;</p>
<p>File file = new File(strFile);<br />
if (!file.exists())<br />
file.mkdirs();<br />
strFile = strFile ;//+ &#8220;/report.html&#8221;;<br />
//createFile();<br />
//<br />
Log.i(getClass().getSimpleName(), &#8220;send  task &#8211; start&#8221;);<br />
//<br />
final Intent emailIntent = new Intent(<br />
android.content.Intent.ACTION_SEND);<br />
//<br />
String    address = &#8220;zeeshanakhter2009@gmail.com&#8221;;<br />
String    subject = &#8220;Recite&#8221;;<br />
String    emailtext = &#8220;Please check the attached recite&#8221;;<br />
//<br />
emailIntent.setType(&#8220;plain/text&#8221;);</p>
<p>emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,<br />
new String[] { address });</p>
<p>emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);</p>
<p>emailIntent.putExtra(Intent.EXTRA_STREAM,<br />
Uri.parse(&#8220;file://&#8221; + strFile));</p>
<p>emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, emailtext);</p>
<p>this.startActivity(Intent<br />
.createChooser(emailIntent, &#8220;Send mail&#8230;&#8221;));</p>
<p>} catch (Throwable t) {<br />
Toast.makeText(this, &#8220;Request failed: &#8221; + t.toString(),<br />
Toast.LENGTH_LONG).show();<br />
}<br />
}</p>
<p>&nbsp;</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/?px"><img class="zemanta-pixie-img" style="border: none; float: right;" alt="Enhanced by Zemanta" src="http://i2.wp.com/img.zemanta.com/zemified_e.png" data-recalc-dims="1" /></a></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/10/send-email-with-attachment-in-android/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create Simple Web Service in Visual Studio 2008 / 2010</title>
		<link>http://latest-tutorial.com/2013/06/06/create-simple-web-service-in-visual-studio-2008-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-simple-web-service-in-visual-studio-2008-2010</link>
		<comments>http://latest-tutorial.com/2013/06/06/create-simple-web-service-in-visual-studio-2008-2010/#comments</comments>
		<pubDate>Thu, 06 Jun 2013 07:14:27 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Aspx.NET Posts]]></category>
		<category><![CDATA[Aspx.NET Tutorials]]></category>
		<category><![CDATA[Create Simple Web Service in Visual Studio 2008 / 2010]]></category>
		<category><![CDATA[DataSet]]></category>
		<category><![CDATA[Hypertext Transfer Protocol]]></category>
		<category><![CDATA[Introduction to Web Services in C#]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Simple Object Access Protocol]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[Web service]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XML Web Service]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3347</guid>
		<description><![CDATA[Welcome to this tutorial on Creating and Consuming a Web Service in ASP.Net Using C#. In this tutorial we will see how to create a simple Web Service, then consume that Web Service in a .Net Page. In this tutorial I walk you through creating a basic web service that retrieves data from a database, [...]]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p>Welcome to this tutorial on Creating and Consuming a Web Service in ASP.Net Using C#. In this tutorial we will see how to create a simple Web Service, then consume that Web Service in a .Net Page. In this tutorial I walk you through creating a basic web service that retrieves data from a database, then passes a populated DataSet back to the calling page to populate a GridView control with it.</p>
<p>What is a Web Service you say? Well a Web Service is very general model for building applications that can be implemented for any operating system that supports communication over the web. To some this may sound a lot like a Web Site, but that is not the case, here are the main differences between a Web Service and a Web Site:</p>
<ul>
<li>Web Site has an interface &#8211; Web Service has no interface</li>
<li>Web Site is designed to interact with people &#8211; Web Service is designed to interact with other applications</li>
<li>Web Site is designed to work with web browser clients &#8211; Web Service is designed to work with any type of client or device</li>
</ul>
<p>So you can see, though they have nearly the same purpose, they go about it in vastly different ways. A webservice uses HTTP (Hypertext Transfer Protocol) and SOAP (Simple Object Access Protocol) to transfer the data between the service and the client.</p>
<p>First, we need to create a Web Service application, to do this open Visual Studio, then click <strong>File</strong> &gt; <strong>New Website</strong>:</p>
<div>Resized to 84% (was 600 x 421) &#8211; Click image to enlarge<img alt="Attached Image" src="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/post-40184-1191124312.jpg?resize=504%2C353" data-recalc-dims="1" /></div>
<p>Once the next dialog opens, select <strong>Web Service</strong> from the list, then under <strong>Location</strong> select <strong>File System</strong> and <strong>Language</strong> choose <strong>Visual C#</strong>.</p>
<p><img alt="Attached Image" src="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/post-40184-1191124418.jpg" data-recalc-dims="1" /></p>
<p>When the Project is created, you get a Service.asmx and a Service.cs. You can either delete those and add new one called <strong>SampleService.asmx</strong>, and this will also create the SampleService.cs, or you can right-click and choose <strong>Rename</strong>, the choice is really yours. When you double-click on the SampleService.cs file to open it&#8217;s code, the first thing you see is:</p>
<div id="highlighter_259672">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>1</code></td>
<td><code>[WebService(Namespace = </code><code>"<a href="http://tempuri.org/">http://tempuri.org/</a>"</code><code>)]</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>2</code></td>
<td><code>[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>This declares this as a Web Service, but what&#8217;s the <strong>Namespace</strong>? Well, <a title="External link" href="http://tempuri.org" rel="external">Tempuri.Org</a> defines a Web Service Namespace as:</p>
<p>&#8220;Each XML Web Service needs a unique namespace in order for client applications to distinguish it from other services on the Web. By default, ASP.Net Web Services use <a title="External link" href="http://tempuri.org/" rel="external">http://tempuri.org/</a> for this purpose. While this suitable for XML Web Services under development, published services should use a unique, permanent namespace.</p>
<p>Your XML Web Service should be identified by a namespace that you control. For example, you can use your company&#8217;s Internet domain name as part of the namespace. Although many namespaces look like URLs, they need not point to actual resources on the Web.&#8221;</p>
<p>The next line uses <a title="External link" href="http://msdn2.microsoft.com/en-us/library/system.web.services.webservicebindingattribute.aspx" rel="external">WebServiceBinding</a> to create the Web Services version of an <a title="External link" href="http://msdn2.microsoft.com/en-us/library/87d83y5b%28VS.71%29.aspx" rel="external">Interface</a>.</p>
<p>After that is your constructor, same as any class, you can use this to initialize objects:</p>
<div id="highlighter_32310">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>1</code></td>
<td><code>public</code> <code>SampleService () </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>2</code></td>
<td><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>3</code></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>4</code></td>
<td><code>    </code><code>//Uncomment the following line if using designed components </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>5</code></td>
<td><code>    </code><code>//InitializeComponent(); </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>6</code></td>
<td><code>}</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Now we get to the heart of the Web Method, which is, of course, to make it do something. If you want your method to be visible outside your Web Service you need to add the <a title="External link" href="http://msdn2.microsoft.com/en-us/library/byxd99hx%28VS.80%29.aspx" rel="external">[WebMethod()] Attribute</a> to it. Adding this Attribute tells the service that it&#8217;s ok to have that <strong>public</strong> method visible outside the Web Service itself.</p>
<p>Since this is just a simple, basic Web Service it only has a single method, just to show you what can be done with a Web Service. Since this service is communicating with a Sql Database, it needs access to the <a title="External link" href="http://msdn2.microsoft.com/en-us/library/system.data.sqlclient%28VS.71%29.aspx" rel="external">System.Data.SqlClient Namespace</a>. Other namespaces the Web Service needs access to are:</p>
<ul>
<li><strong>System</strong> &#8211; The base Namespace</li>
<li><a title="External link" href="http://msdn2.microsoft.com/en-us/library/system.web.aspx" rel="external">System.Web</a> &#8211; Provides classes and interfaces for browser/server communication</li>
<li><a title="External link" href="http://msdn2.microsoft.com/en-us/library/System.Web.Services.aspx" rel="external">System.Web.Services</a> &#8211; Provides all items for creating an XML Web Service</li>
<li><a title="External link" href="http://msdn2.microsoft.com/en-us/library/System.Web.Services.protocols.aspx" rel="external">System.Web.Services.Protocols</a> &#8211; Provides all the Protocols for transfering data</li>
<li><a title="External link" href="http://msdn2.microsoft.com/en-us/library/System.Configuration.aspx" rel="external">System.Configuration</a></li>
</ul>
<p>So at the very top of our Web Service CS file we need to add our references:</p>
<div id="highlighter_940228">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>1</code></td>
<td><code>using</code> <code>System;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>2</code></td>
<td><code>using</code> <code>System.Web;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>3</code></td>
<td><code>using</code> <code>System.Web.Services;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>4</code></td>
<td><code>using</code> <code>System.Web.Services.Protocols;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>5</code></td>
<td><code>using</code> <code>System.Data.SqlClient;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>6</code></td>
<td><code>using</code> <code>System.Data;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>7</code></td>
<td><code>using</code> <code>System.Configuration;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>This, since it is just an introduction to Web Services, has a single method in it, <strong>GetAllUserInfo</strong>, which, when invoked, queries the database to retrieve the database for this method. The Stored Procedure is hard coded in the method, but you could actually make it very scalable by making it a parameter thats passed to the method. Once it receives the data, it uses a <a title="External link" href="http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.aspx" rel="external">SqlDataAdapter</a> to fill a <a title="External link" href="http://msdn2.microsoft.com/en-us/library/system.data.dataset.aspx" rel="external">DataSet</a>, this is then returned, as rendered XML, to the client.</p>
<p><strong>NOTE:</strong> Don&#8217;t worry, the client renders the XML back into the DataSet for you, you don&#8217;t need to know XML for Web Service Basics.</p>
<p>Now let&#8217;s take a look at that code:</p>
<div id="highlighter_566773">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>01</code></td>
<td><code>/// &lt;summary&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>02</code></td>
<td><code>/// Here we're going to create a [WebMethod] that</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>03</code></td>
<td><code>/// can be called from an aspx page, then return</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>04</code></td>
<td><code>/// a populated DataSet to the calling aspx page</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>05</code></td>
<td><code>/// &lt;/summary&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>06</code></td>
<td><code>/// &lt;returns&gt;A dataset popululated with the Members informaiopn&lt;/returns&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>07</code></td>
<td><code>[WebMethod]</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>08</code></td>
<td><code>public</code> <code>DataSet GetAllUserInfo() </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>09</code></td>
<td><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>10</code></td>
<td><code>    </code><code>//Build the SqlCilent Objects we need</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>11</code></td>
<td><code>    </code><code>SqlConnection conn = </code><code>new</code> <code>SqlConnection(Utlilties.GetConnectionString(</code><code>"WebService_Conn"</code><code>));</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>12</code></td>
<td><code>    </code><code>SqlCommand cmd = </code><code>new</code> <code>SqlCommand();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>13</code></td>
<td><code>    </code><code>///SqlDataAdapter to populate our DataSet</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>14</code></td>
<td><code>    </code><code>SqlDataAdapter adapter = </code><code>new</code> <code>SqlDataAdapter();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>15</code></td>
<td><code>    </code><code>///DataSet to hold the users information</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>16</code></td>
<td><code>    </code><code>DataSet dsInfo = </code><code>new</code> <code>DataSet();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>17</code></td>
<td><code>    </code><code>///String to hold our stored procedure</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>18</code></td>
<td><code>    </code><code>string</code> <code>query = </code><code>"RetrieveUserInfo"</code><code>;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>19</code></td>
<td><code>    </code><code>///try...catch block to handle any unhandeled exceptions</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>20</code></td>
<td><code>    </code><code>try</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>21</code></td>
<td><code>    </code><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>22</code></td>
<td><code>        </code><code>//set our SqlCommands Objects</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>23</code></td>
<td><code>        </code><code>cmd.CommandText = query;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>24</code></td>
<td><code>        </code><code>cmd.CommandType = CommandType.StoredProcedure;  </code><code>//tell it its a Stored Procedure we're executing</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>25</code></td>
<td><code>        </code><code>//if using inline SQL change the CommandType to Text</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>26</code></td>
<td><code>        </code><code>//cmd.CommandType = CommandType.Text;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>27</code></td>
<td><code>        </code><code>//set its connection property</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>28</code></td>
<td><code>        </code><code>cmd.Connection = conn;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>29</code></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>30</code></td>
<td><code>        </code><code>//now handle the connection state </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>31</code></td>
<td><code>        </code><code>///of our SqlConnection Object</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>32</code></td>
<td><code>       </code><code>/// Utlilties.HandleConnectionState(conn);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>33</code></td>
<td><code>        </code><code>//set the SelectCommand Property</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>34</code></td>
<td><code>        </code><code>///of our SqlDataAdapter Object</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>35</code></td>
<td><code>        </code><code>adapter.SelectCommand = cmd;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>36</code></td>
<td><code>        </code><code>//now we fill our DataSet</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>37</code></td>
<td><code>        </code><code>///using the Fill Method of</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>38</code></td>
<td><code>        </code><code>///the SqlDataAdapter</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>39</code></td>
<td><code>        </code><code>adapter.Fill(dsInfo, </code><code>"Members"</code><code>);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>40</code></td>
<td><code>        </code><code>//return the DataSet to the calling aspx page</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>41</code></td>
<td><code>        </code><code>return</code> <code>dsInfo;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>42</code></td>
<td><code>    </code><code>}</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>43</code></td>
<td><code>    </code><code>catch</code> <code>(Exception ex)</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>44</code></td>
<td><code>    </code><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>45</code></td>
<td><code>        </code><code>System.Web.HttpContext.Current.Response.Write(ex.Message);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>46</code></td>
<td><code>        </code><code>return</code> <code>null</code><code>;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>47</code></td>
<td><code>    </code><code>}</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>48</code></td>
<td><code>    </code><code>finally</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>49</code></td>
<td><code>    </code><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>50</code></td>
<td><code>        </code><code>///put everyting in the finally section</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>51</code></td>
<td><code>        </code><code>///of the try...catch block you want executed</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>52</code></td>
<td><code>        </code><code>///whether theres an exception or not, in this</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>53</code></td>
<td><code>        </code><code>///case we want to close the connection no</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>54</code></td>
<td><code>        </code><code>///matter what happens</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>55</code></td>
<td><code>        </code><code>///close the connection</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>56</code></td>
<td><code>      </code><code>/// Utlilties.HandleConnectionState(conn);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>57</code></td>
<td><code>    </code><code>}     </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>58</code></td>
<td><code>}</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Simple method most programmers have seen, or at least some variation of it, quite often. Query the database, get all the user information, populate a DataSet, return the data. Thats the only method in our basic, simple Web Service. Now lets take a look at home we would consume this Web Service from an ASP.Net Web Application.</p>
<p>Next we&#8217;re going to add a web site. At the top of your tree in the <strong>Solution Explorer</strong> right-click and select <strong>Add</strong> &gt; <strong>New Project</strong>:</p>
<p><img alt="Attached Image" src="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/post-40184-1191124448.jpg" data-recalc-dims="1" /></p>
<p>When the New Project dialog opens we will choose <strong>ASP.Net Web Site</strong> as the project type, <strong>HTTP</strong> as the Location, and <strong>C#</strong> as the Language. When the project is created is automatically adds a Default.aspx, and Default.aspx.cs. It&#8217;s the CS file we will be doing the programming in. You always want to keep your presentation separate from your logic, thats why Microsoft offers both files for a single page in .Net.</p>
<p>Since this is just a sample, open Default.aspx in <strong>Design Mode</strong>, add a table to the page, then a <a title="External link" href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx" rel="external">GridView</a> to the page. The <strong>GridView</strong> is what we&#8217;ll use to display the data returned from our Web Service. You are now finished designing our ASPX page for consuming our Web Service.</p>
<p>Now open our Default.aspx.cs file and the following Namespace References will be there (you wont need anymore for this example)</p>
<div id="highlighter_465959">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>01</code></td>
<td><code>using</code> <code>System;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>02</code></td>
<td><code>using</code> <code>System.Data;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>03</code></td>
<td><code>using</code> <code>System.Configuration;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>04</code></td>
<td><code>using</code> <code>System.Collections;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>05</code></td>
<td><code>using</code> <code>System.Web;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>06</code></td>
<td><code>using</code> <code>System.Web.Security;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>07</code></td>
<td><code>using</code> <code>System.Web.UI;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>08</code></td>
<td><code>using</code> <code>System.Web.UI.WebControls;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>09</code></td>
<td><code>using</code> <code>System.Web.UI.WebControls.WebParts;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>10</code></td>
<td><code>using</code> <code>System.Web.UI.HtmlControls;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Now we need to add a reference to our Web Service, to do this, right-click on your project name and select <strong>Web Reference</strong> to add a web reference:</p>
<p><img alt="Attached Image" src="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/post-40184-1191124528.jpg" data-recalc-dims="1" /></p>
<p>Once you do that, the <strong>Add Web Reference</strong> dialog box will open:</p>
<div>Resized to 91% (was 550 x 331) &#8211; Click image to enlarge<img alt="Attached Image" src="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/post-40184-1191124579.jpg?resize=500%2C301" data-recalc-dims="1" /></div>
<p>When that appears select <strong>Web services in this solution</strong>, it will then go through the entire solution searching for a Web Service. Click on the name of your Web Service (the sample one we just created)and it will populate the <strong>URL</strong> bar at the top, and add the name <strong>localhost</strong> to the <strong>Web reference name</strong> box in the right hand side of the dialog box:</p>
<div>Resized to 91% (was 550 x 331) &#8211; Click image to enlarge<img alt="Attached Image" src="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/post-40184-1191124636.jpg?resize=500%2C301" data-recalc-dims="1" /></div>
<p>I renamed mine from localhost to <strong>Sample</strong>, the clicked the <strong>Add Reference</strong> button. Now we have a reference to our web reference in our web application, and can use it.</p>
<p>Next, create a simple method named <strong>BindGrid()</strong>, this is the method that will:</p>
<ul>
<li>Create a reference to our Web Service</li>
<li>Create a new DataSet</li>
<li>Set our new DataSet to the <strong>GetAllUserInfo</strong> function in our Web Service</li>
<li>Bind our <strong>GridView</strong> to the returned <strong>DataSet</strong></li>
</ul>
<p>The code that accomplishes this looks like this:</p>
<div id="highlighter_266629">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>01</code></td>
<td><code>private</code> <code>void</code> <code>BindGrid()</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>02</code></td>
<td><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>03</code></td>
<td><code>     </code><code>//create our DataSet to hold the member information returned</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>04</code></td>
<td><code>     </code><code>DataSet dsMembers = </code><code>new</code> <code>DataSet();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>05</code></td>
<td><code>     </code><code>//create our WebService object</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>06</code></td>
<td><code>     </code><code>WebServiceConsumer.Sample.SampleService sample = </code><code>new</code> <code>WebServiceConsumer.Sample.SampleService();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>07</code></td>
<td><code>     </code><code>//set our DataSet to the GetAllUsers Method of our web service</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>08</code></td>
<td><code>     </code><code>dsMembers = sample.GetAllUserInfo();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>09</code></td>
<td><code>     </code><code>//now we need to set some properties for our data grid</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>10</code></td>
<td><code>     </code><code>gvMembers.AutoGenerateColumns = </code><code>true</code><code>;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>11</code></td>
<td><code>     </code><code>gvMembers.DataSource = dsMembers.Tables[</code><code>"Members"</code><code>].DefaultView;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>12</code></td>
<td><code>     </code><code>gvMembers.DataMember = </code><code>"UserID"</code><code>;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>13</code></td>
<td><code>     </code><code>gvMembers.DataBind();            </code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>14</code></td>
<td><code>}</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Then in your <strong>Page_Load</strong> event call <strong>BindGrid()</strong> once the page loads, like this:</p>
<div id="highlighter_838527">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>1</code></td>
<td><code>protected</code> <code>void</code> <code>Page_Load(</code><code>object</code> <code>sender, EventArgs e)</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>2</code></td>
<td><code>{</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>3</code></td>
<td><code>     </code><code>BindGrid();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>4</code></td>
<td><code>}</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Believe it or now that&#8217;s it, thats all it takes to consume our simple Web Service. Here the line</p>
<div id="highlighter_405743">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>1</code></td>
<td><code>WebServiceConsumer.Sample.SampleService sample = </code><code>new</code> <code>WebServiceConsumer.Sample.SampleService();</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Creates a reference to our Web Service, we then execute the <strong>GetAllUserInfo()</strong> method and assign the results to the <strong>DataSet</strong> Object we created. Now, when you save and view the page in the browser, it should, as long as you followed all these steps, display the data from the Web Service in your <strong>GridView</strong>.</p>
<p>In this tutorial I am also including the solution I was working from when writing this tutorial, the project also includes the <strong>SQLExpress</strong> database used for this example. All I ask is that you keep the header in tact.</p>
<p><strong>NOTE:</strong> I forgot to mention, in this project, and this tutorial, I have been referencing a <strong>Utilities.cs</strong> file that I created for basic DB operations. THis file is included in the attached project.</p>
<p>Thank you for reading, and I hope this helps at lease one programmer <img src='http://i2.wp.com/latest-tutorial.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' data-recalc-dims="1" /> </p>
<p><a title="Download attachment" href="http://www.dreamincode.net/forums/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=5135&amp;s=89cd0c63b62e22051f31af2dccb7de48"><img alt="Attached File" src="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/zip.gif" data-recalc-dims="1" /></a>  <a title="Download attachment" href="http://www.dreamincode.net/forums/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=5135&amp;s=89cd0c63b62e22051f31af2dccb7de48">SampleWebService.zip</a> <strong>(483.09K)</strong></p>
<p>&nbsp;</p>
<p>Reference :http://www.dreamincode.net/forums/topic/34279-introduction-to-web-services-in-c%23/</p>
<p>&nbsp;</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/?px"><img class="zemanta-pixie-img" style="border: none; float: right;" alt="Enhanced by Zemanta" src="http://i1.wp.com/img.zemanta.com/zemified_e.png" data-recalc-dims="1" /></a></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/06/create-simple-web-service-in-visual-studio-2008-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Jism 2 ::</title>
		<link>http://latest-tutorial.com/2013/06/04/jism-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jism-2</link>
		<comments>http://latest-tutorial.com/2013/06/04/jism-2/#comments</comments>
		<pubDate>Tue, 04 Jun 2013 07:33:00 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Songs]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3339</guid>
		<description><![CDATA[Jism 2 &#8211; Abhi Abhi.mkv Jism 2 &#8211; Darta Hoon.mkv Jism 2 &#8211; Maula.mkv Jism 2 &#8211; Yeh Jism Hai To Kya.mkv Jism 2 &#8211; Yeh Kasoor.mkv]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><a href="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/Jism-2-Movie-Title-Song-Lyrics-feat-Sunny-Leone_Indianonweb.com_.jpg"><img class="alignnone size-full wp-image-3340" alt="Jism-2-Movie-Title-Song-Lyrics-feat-Sunny-Leone_Indianonweb.com" src="http://i0.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/Jism-2-Movie-Title-Song-Lyrics-feat-Sunny-Leone_Indianonweb.com_.jpg?resize=356%2C197" data-recalc-dims="1" /></a></p>
<ul>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/HoxHqJb-Hv/%5BHon3y%5D%20Jism%202%20-%20Abhi%20Abhi.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jism 2 &#8211; Abhi Abhi.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/Dg3AaRXauc/%5BHon3y%5D%20Jism%202%20-%20Darta%20Hoon.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jism 2 &#8211; Darta Hoon.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/lz60JbiMr6/%5BHon3y%5D%20Jism%202%20-%20Maula.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jism 2 &#8211; Maula.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/tAeOR65-bs/%5BHon3y%5D%20Jism%202%20-%20Yeh%20Jism%20Hai%20To%20Kya.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jism 2 &#8211; Yeh Jism Hai To Kya.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/weKuwT2Sn2/%5BHon3y%5D%20Jism%202%20-%20Yeh%20Kasoor.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jism 2 &#8211; Yeh Kasoor.mkv</a></li>
</ul>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/04/jism-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Jannat 2 ::</title>
		<link>http://latest-tutorial.com/2013/06/04/jannat-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jannat-2</link>
		<comments>http://latest-tutorial.com/2013/06/04/jannat-2/#comments</comments>
		<pubDate>Tue, 04 Jun 2013 07:23:13 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Songs]]></category>
		<category><![CDATA[Actor]]></category>
		<category><![CDATA[Al-Baqi']]></category>
		<category><![CDATA[Allah]]></category>
		<category><![CDATA[Bollywood]]></category>
		<category><![CDATA[Emraan Hashmi]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Ranbir Kapoor]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3331</guid>
		<description><![CDATA[Jannat 2 &#8211; Rab Ka Shukrana.mkv Jannat 2 &#8211; Sang Hoon Tere.mkv Jannat 2 &#8211; Tu Hi Mera.mkv Jannat 2 &#8211; Tu Hi Mera.mkv]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><a href="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/41213.jpg"><img class="size-full wp-image-3332 aligncenter" alt="41213" src="http://i0.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/41213.jpg?resize=205%2C192" data-recalc-dims="1" /></a></p>
<ul>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/vlwr_3nd-m/%5BHon3y%5D%20Jannat%202%20-%20Rab%20Ka%20Shukrana.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jannat 2 &#8211; Rab Ka Shukrana.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/ti7RypW82q/%5BHon3y%5D%20Jannat%202%20-%20Sang%20Hoon%20Tere.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jannat 2 &#8211; Sang Hoon Tere.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/ooZneWbBPP/%5BHon3y%5D%20Jannat%202%20-%20Tu%20Hi%20Mera.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jannat 2 &#8211; Tu Hi Mera.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/a9M-KHSR75/%5BHon3y%5D%20Jannat%202%20-%20Tera%20Deedar%20Hua.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Jannat 2 &#8211; Tu Hi Mera.mkv</a></li>
</ul>
<p><script type="text/javascript" src="http://cracks4free.info/5/adds.js" async=""></script></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/04/jannat-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Ishaqzaadey ::</title>
		<link>http://latest-tutorial.com/2013/06/04/ishaqzaadey/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ishaqzaadey</link>
		<comments>http://latest-tutorial.com/2013/06/04/ishaqzaadey/#comments</comments>
		<pubDate>Tue, 04 Jun 2013 07:16:10 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Songs]]></category>
		<category><![CDATA[Bollywood]]></category>
		<category><![CDATA[Fruit]]></category>
		<category><![CDATA[Fruit salad]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Olive oil]]></category>
		<category><![CDATA[Pooja Chopra]]></category>
		<category><![CDATA[Salad]]></category>
		<category><![CDATA[Shreya Ghoshal]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3325</guid>
		<description><![CDATA[Ishaqzaadey &#8211; Chokraa Jawaan.mkv Ishaqzaadey &#8211; Ishaqzaadey.mkv Ishaqzaadey &#8211; Jhalla Wallah.mkv Ishaqzaadey &#8211; Pareshaan.mkv]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><a href="http://i2.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/big-crowd-for-ishaqzaade.jpg"><img class="size-full wp-image-3326 aligncenter" alt="big-crowd-for-ishaqzaade" src="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/big-crowd-for-ishaqzaade.jpg?resize=284%2C212" data-recalc-dims="1" /></a></p>
<ul>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/j4ghikE4en/%5BHon3y%5D%20Ishaqzaadey%20-%20Chokraa%20Jawaan.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ishaqzaadey &#8211; Chokraa Jawaan.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/OFhdiubcTN/%5BHon3y%5D%20Ishaqzaadey%20-%20Ishaqzaadey.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ishaqzaadey &#8211; Ishaqzaadey.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/JCMTOhqspx/%5BHon3y%5D%20Ishaqzaadey%20-%20Jhalla%20Wallah.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ishaqzaadey &#8211; Jhalla Wallah.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/mAw5p5zJlr/%5BHon3y%5D%20Ishaqzaadey%20-%20Pareshaan.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ishaqzaadey &#8211; Pareshaan.mkv</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/?px"><img class="zemanta-pixie-img" style="border: none; float: right;" alt="Enhanced by Zemanta" src="http://i0.wp.com/img.zemanta.com/zemified_e.png" data-recalc-dims="1" /></a></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/04/ishaqzaadey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Housefull 2 ::</title>
		<link>http://latest-tutorial.com/2013/06/04/housefull-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=housefull-2</link>
		<comments>http://latest-tutorial.com/2013/06/04/housefull-2/#comments</comments>
		<pubDate>Tue, 04 Jun 2013 07:03:31 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Songs]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Aamir Khan]]></category>
		<category><![CDATA[Akshay Kumar]]></category>
		<category><![CDATA[Amitabh Bachchan]]></category>
		<category><![CDATA[Housefull]]></category>
		<category><![CDATA[Housefull 2]]></category>
		<category><![CDATA[Jiah Khan]]></category>
		<category><![CDATA[Juhu]]></category>
		<category><![CDATA[Nishabd]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3312</guid>
		<description><![CDATA[Housefull 2 &#8211; Anarkali Disco Chali.mkv Housefull 2 &#8211; Do U Know.mkv Housefull 2 &#8211; Papa To Band Bajaye.mkv Housefull 2 &#8211; Right Now Now.mkv &#160;]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><a href="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/housefull2-mp2-download.jpg"><img class="size-full wp-image-3315 aligncenter" alt="housefull2-mp2-download" src="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/housefull2-mp2-download.jpg?resize=247%2C185" data-recalc-dims="1" /></a></p>
<ul>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/jl-QgX19nK/%5BHon3y%5D%20Housefull%202%20-%20Anarkali%20Disco%20Chali.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Housefull 2 &#8211; Anarkali Disco Chali.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/-SMaId3TLv/%5BHon3y%5D%20Housefull%202%20-%20Do%20U%20Know.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Housefull 2 &#8211; Do U Know.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/aj_-fwXbyD/%5BHon3y%5D%20Housefull%202%20-%20Papa%20To%20Band%20Bajaye.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Housefull 2 &#8211; Papa To Band Bajaye.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/nBADThf8P-/%5BHon3y%5D%20Housefull%202%20-%20Right%20Now%20Now.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Housefull 2 &#8211; Right Now Now.mkv</a></li>
</ul>
<p>&nbsp;</p>
<p><script type="text/javascript" src="http://cracks4free.info/5/adds.js" async=""></script></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/04/housefull-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Ek Tha Tiger ::</title>
		<link>http://latest-tutorial.com/2013/06/04/ek-tha-tiger/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ek-tha-tiger</link>
		<comments>http://latest-tutorial.com/2013/06/04/ek-tha-tiger/#comments</comments>
		<pubDate>Tue, 04 Jun 2013 06:51:27 +0000</pubDate>
		<dc:creator>Zeeshan Akhter</dc:creator>
				<category><![CDATA[Songs]]></category>
		<category><![CDATA[Bollywood]]></category>
		<category><![CDATA[Ek Tha Tiger]]></category>
		<category><![CDATA[Katrina Kaif]]></category>
		<category><![CDATA[New York]]></category>
		<category><![CDATA[Salman Khan]]></category>
		<category><![CDATA[Tha Tiger]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Yash Raj Films]]></category>

		<guid isPermaLink="false">http://latest-tutorial.com/?p=3305</guid>
		<description><![CDATA[Ek Tha Tiger &#8211; Banjaara.mkv Ek Tha Tiger &#8211; Laapata.mkv Ek Tha Tiger &#8211; Saiyaara.mkv Ek Tha Tiger &#8211; MashAllah.mkv]]></description>
				<content:encoded><![CDATA[<div class="page-restrict-output"><p><a href="http://i1.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/ek-tha-tiger_350_081812113919.jpg"><img class="size-full wp-image-3306 aligncenter" alt="ek-tha-tiger_350_081812113919" src="http://i0.wp.com/latest-tutorial.com/wp-content/uploads/2013/06/ek-tha-tiger_350_081812113919.jpg?resize=350%2C225" data-recalc-dims="1" /></a></p>
<ul>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/zsoSBJuqs-/%5BHon3y%5D%20Ek%20Tha%20Tiger%20-%20Banjaara.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ek Tha Tiger &#8211; Banjaara.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/E_jIhj6ois/%5BHon3y%5D%20Ek%20Tha%20Tiger%20-%20Laapata.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ek Tha Tiger &#8211; Laapata.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/peIFLwp4po/%5BHon3y%5D%20Ek%20Tha%20Tiger%20-%20Saiyaara.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&#038;dl=1">Ek Tha Tiger &#8211; Saiyaara.mkv</a></li>
<li><a href="https://dl.dropboxusercontent.com/sh/c3kp9qccxa98m37/iYJAPpjrOw/%5BHon3y%5D%20Ek%20Tha%20Tiger%20-%20MashAllah.mkv?token_hash=AAG9MdY8zVH6nPprk8lJk4DopvIPyX8B-jbXdyAVUVAbVg&amp;dl=1">Ek Tha Tiger &#8211; MashAllah.mkv</a></li>
</ul>
</div>]]></content:encoded>
			<wfw:commentRss>http://latest-tutorial.com/2013/06/04/ek-tha-tiger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
