<?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>Luigi Melisi &#187; amp</title>
	<atom:link href="http://www.luigimelisi.com/tag/amp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.luigimelisi.com</link>
	<description>Development Blog : C# Code Samples,.NET Tips and Tricks</description>
	<lastBuildDate>Thu, 03 Mar 2011 09:01:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>[VB.NET] : Inviare una mail in formato HTML</title>
		<link>http://www.luigimelisi.com/tips-and-tricks/vb-net-inviare-una-mail-in-formato-html.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vb-net-inviare-una-mail-in-formato-html</link>
		<comments>http://www.luigimelisi.com/tips-and-tricks/vb-net-inviare-una-mail-in-formato-html.html#comments</comments>
		<pubDate>Sat, 20 Mar 2010 00:58:34 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[amp]]></category>
		<category><![CDATA[background color]]></category>
		<category><![CDATA[body]]></category>
		<category><![CDATA[body background]]></category>
		<category><![CDATA[ByVal]]></category>
		<category><![CDATA[dim]]></category>
		<category><![CDATA[document write]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[host ip]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mailmessage]]></category>
		<category><![CDATA[MessageBody]]></category>
		<category><![CDATA[MessageHead]]></category>
		<category><![CDATA[ReturnMessage]]></category>
		<category><![CDATA[sans serif font]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=713</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<pre class="brush: vb; title: ; notranslate">
Function SendEmail(ByVal ToAddress As String, ByVal FromAddress As String, ByVal MessageSubject As String, ByVal MessageBody As String)
Dim MessageHead As String = &quot;&lt;html&gt;&lt;head&gt;&quot;
MessageHead = MessageHead &amp; &quot;&lt;style &quot;
MessageHead = MessageHead &amp; &quot;body {background-color:#F7F7F7; color:#000; font-family:arial,verdana,sans-serif; font-size:12px;}&quot;
MessageHead = MessageHead &amp; &quot;&lt;/style&gt;&lt;/head&gt;&lt;/body&gt;&quot;
Dim MessageFoot As String = &quot;&lt;/body&gt;&lt;/html&gt;&quot;
MessageBody = MessageHead &amp; MessageBody &amp; MessageFoot
Dim ReturnMessage As String = &quot;&quot;
Dim mm As New MailMessage(FromAddress, ToAddress)
Dim smtp As New SmtpClient
mm.Subject = MessageSubject
mm.Body = MessageBody
mm.IsBodyHtml = True
Try
smtp.Host = &quot;0.0.0.0&quot; 'ADD HOST IP
smtp.Send(mm)
ReturnMessage = &quot;La mail è stata inviata&quot;
Catch ex As Exception
ReturnMessage = &quot;Spiacente, c’è stato un problema! &quot; &amp;amp; ex.Message
End Try
SendEmail = ReturnMessage
End Function
</pre>
<p><a rel="nofollow" href="http://www.youbuy.it/lastminute.aspx" target="_blank"><img class="aligncenter" title="YouBuy.it - Last Minute - Offerte Sottocosto" src="http://images.youbuy.it/adv/last.jpg" alt="last [VB.NET] : Inviare una mail in formato HTML" width="450" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/tips-and-tricks/vb-net-inviare-una-mail-in-formato-html.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[VB.NET] : Accesso in lettura ad una DataTable</title>
		<link>http://www.luigimelisi.com/tips-and-tricks/vb-net-accesso-in-lettura-ad-una-datatable.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vb-net-accesso-in-lettura-ad-una-datatable</link>
		<comments>http://www.luigimelisi.com/tips-and-tricks/vb-net-accesso-in-lettura-ad-una-datatable.html#comments</comments>
		<pubDate>Sat, 20 Mar 2010 00:50:35 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[amp]]></category>
		<category><![CDATA[ByVal]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[data source]]></category>
		<category><![CDATA[DataTable]]></category>
		<category><![CDATA[dim]]></category>
		<category><![CDATA[document write]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[jet oledb]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[microsoft jet]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[oledbdataadapter]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[strConn]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[uri]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=709</guid>
		<description><![CDATA[
1
2
3
4
5
6
7
Function ReadAccess(ByVal sqlString As String, ByVal path As String) As System.Data.DataTable
Dim strConn As String = _&#34;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&#34; &#38;amp; path &#38;amp; &#34;;&#34;
Dim recs As New Data.DataTable()
DIm sql As New OleDbDataAdapter(sqlString,  [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #E56717; font-weight: bold;">Function</span> ReadAccess(<span style="color: #151B8D; font-weight: bold;">ByVal</span> sqlString <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span>, <span style="color: #151B8D; font-weight: bold;">ByVal</span> path <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span>) <span style="color: #151B8D; font-weight: bold;">As</span> System.Data.DataTable
<span style="color: #151B8D; font-weight: bold;">Dim</span> strConn <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span> = _<span style="color: #800000;">&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot;</span> &amp;amp; path &amp;amp; <span style="color: #800000;">&quot;;&quot;</span>
<span style="color: #151B8D; font-weight: bold;">Dim</span> recs <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #E56717; font-weight: bold;">New</span> Data.DataTable()
<span style="color: #151B8D; font-weight: bold;">DIm</span> sql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #E56717; font-weight: bold;">New</span> OleDbDataAdapter(sqlString, strConn)
sql.Fill(recs)
Return recs
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">Function</span></pre></td></tr></table></div>

<p><script type="text/javascript">// <![CDATA[
var uri = 'http://impit.tradedoubler.com/imp?type(js)g(16492944)a(1765811)' + new String (Math.random()).substring (2, 11);
document.write('<sc'+'ript type="text/javascript" src="'+uri+'" charset="ISO-8859-1"></sc'+'ript>');
// ]]&gt;</script><br />
<a href="http://www.youbuy.it/lastminute.aspx"><img class="aligncenter" title="Offerte Last Minute YouBuy.it" src="http://images.youbuy.it/adv/last.jpg" alt="last [VB.NET] : Accesso in lettura ad una DataTable" width="450" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/tips-and-tricks/vb-net-accesso-in-lettura-ad-una-datatable.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aspettando la SharePoint and Office Conferenze 2010: alcuni video della precedente edizione</title>
		<link>http://www.luigimelisi.com/programmazione/net_framework/aspettando-la-sharepoint-and-office-conferenze-2010-alcuni-video-della-precedente-edizione.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=aspettando-la-sharepoint-and-office-conferenze-2010-alcuni-video-della-precedente-edizione</link>
		<comments>http://www.luigimelisi.com/programmazione/net_framework/aspettando-la-sharepoint-and-office-conferenze-2010-alcuni-video-della-precedente-edizione.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:00:14 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[amp]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[microsoft sharepoint]]></category>
		<category><![CDATA[Milano]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/programmazione/net_framework/aspettando-la-sharepoint-and-office-conferenze-2010-alcuni-video-della-precedente-edizione.html</guid>
		<description><![CDATA[La Microsoft SharePoint &#38; Office Conference 2010 si avvicina, si svolgerà come penso sappiate a Milano nei giorni 9, 10 e 11 Marzo. Le iscrizioni sono ancora aperte . La lista delle sessioni è ormai definitiva e potete trovarla a questo link . Alcuni&#8230;(read more)
]]></description>
			<content:encoded><![CDATA[<p>La Microsoft SharePoint &amp; Office Conference 2010 si avvicina, si svolgerà come penso sappiate a Milano nei giorni 9, 10 e 11 Marzo. Le iscrizioni sono ancora aperte . La lista delle sessioni è ormai definitiva e potete trovarla a questo link . Alcuni&#8230;(<a href="http://blogs.msdn.com/italy/archive/2010/02/16/aspettando-la-sharepoint-and-office-conferenze-2010-alcuni-video-della-precedente-edizione.aspx" rel="nofollow">read more</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/programmazione/net_framework/aspettando-la-sharepoint-and-office-conferenze-2010-alcuni-video-della-precedente-edizione.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

