<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-36991193</id><updated>2011-11-27T17:02:07.846-08:00</updated><title type='text'>Indika's Home Page</title><subtitle type='html'>This blog not specialize in any area.
It may contains tips for programars, source code, link for EBOOKS, useful tools, jokes, pictures, and more...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://indika-kumara.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36991193/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://indika-kumara.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>indika kumara</name><uri>http://www.blogger.com/profile/13693952535192241546</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-36991193.post-3550960101158078170</id><published>2007-10-25T05:08:00.000-07:00</published><updated>2008-11-13T10:55:39.917-08:00</updated><title type='text'></title><content type='html'>&lt;p align="justify"&gt;&lt;strong&gt;How to Debug Stored Procedures in SQL Server 2005&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;With Microsoft SQL Server 2000 it was possible to debug stored procedures from directly within Query Analyzer. With SQL Server 2005, however, this functionality was moved out of SQL Server Management Studio and into the Visual Studio IDE. All editions of SQL Server 2005 include debugging support (including the Express Edition). However, only the Team Systems and Professional editions of Visual Studio enable stored procedure debugging from within the IDE.&lt;br /&gt;Let’s consider how to debug SQL Server 2005 stored procedures through the Visual Studio IDE.&lt;br /&gt;For Microsoft SQL Server 2005, all database debugging occurs from within the Visual Studio IDE. Database objects like stored procedures, triggers, and User-Defined Functions (UDF) can be debugged. Visual Studio offers three ways to debug these database objects:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Direct Database Debugging - from Visual Studio's Server Explorer, right-click on a database object and choose to step into the object. For example, when right-clicking on a stored procedure, the context menu includes a menu option titled "Step into Stored Procedure."&lt;/li&gt;&lt;/ul&gt;&lt;img id="BLOGGER_PHOTO_ID_5125247477032892658" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_ifoxGEYqtX0/RyCJbPaDOPI/AAAAAAAAADQ/aFZyS399xyA/s400/dsd.bmp" border="0" /&gt; &lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Application Debugging - with application debugging you can set breakpoints within a database object. When the associated ASP.NET application is debugged and the database object invoked, Visual Studio's debugger pauses the application's execution as the breakpoint it hit, allowing us to step through the object's statements one at a time.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Debugging from a SQL Server Project - Visual Studio offers a SQL Server Project type. This project can include both T-SQL and managed database objects and these objects can be debugged by debugging the SQL Server Project itself.&lt;br /&gt;For more information on these three types of SQL Server debugging, see &lt;a href="http://blogs.msdn.com/sqlclr/archive/2006/06/29/651644.aspx"&gt;Overview of T-SQL and CLR Debugging in SQL Server 2005&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36991193-3550960101158078170?l=indika-kumara.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://indika-kumara.blogspot.com/feeds/3550960101158078170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36991193&amp;postID=3550960101158078170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36991193/posts/default/3550960101158078170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36991193/posts/default/3550960101158078170'/><link rel='alternate' type='text/html' href='http://indika-kumara.blogspot.com/2007/10/how-to-debug-stored-procedures-in-sql.html' title=''/><author><name>indika kumara</name><uri>http://www.blogger.com/profile/13693952535192241546</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ifoxGEYqtX0/RyCJbPaDOPI/AAAAAAAAADQ/aFZyS399xyA/s72-c/dsd.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36991193.post-1224218751618883576</id><published>2007-10-01T01:39:00.001-07:00</published><updated>2008-09-23T21:38:49.930-07:00</updated><title type='text'></title><content type='html'>&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);font-size:180%;" &gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;strong&gt;How to send Email using Gmail SMTP server (c#)&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;What will you want?&lt;br /&gt;valid gmail user account with password&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;Connects to &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;smtp.gmail.com&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, authenticate a valid gmail user account using SSL and sends an email.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;Regular SSL port 465 won´t work. You´ll have to use an alternate port, 587.&lt;br /&gt;&lt;br /&gt;c# code:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;//You should include following namespace&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;&lt;br /&gt;&lt;/span&gt;using System.Net.Mail ;&lt;br /&gt;using System.Net;&lt;br /&gt;&lt;br /&gt;MailMessage MailObj = new MailMessage();&lt;br /&gt;&lt;br /&gt;MailObj.To.Add ("&lt;span style="color: rgb(102, 0, 0);"&gt;GmailToAccount@gmail.com&lt;/span&gt;");&lt;br /&gt;MailObj.From = new MailAddress(&lt;span style="color: rgb(102, 0, 0);"&gt;"GmailFromAccount@gmail.com&lt;/span&gt;","From");&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;//you can use cc also&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;MailObj.IsBodyHtml = true;&lt;br /&gt;MailObj.Priority = MailPriority.Normal ;&lt;br /&gt;MailObj.Subject = "Subject";&lt;br /&gt;MailObj.Body = "Test mail";&lt;br /&gt;SmtpClient smtpcli = new SmtpClient("smtp.gmail.com", 587);&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;//use this PORT!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;smtpcli.EnableSsl = true;&lt;br /&gt;smtpcli.DeliveryMethod = SmtpDeliveryMethod.Network;&lt;br /&gt;smtpcli.Credentials = new NetworkCredential("&lt;span style="color: rgb(102, 0, 0);"&gt;GmailFromAccount@gmail.com&lt;/span&gt; ","&lt;span style="color: rgb(102, 0, 0);"&gt;GmailFromAccountPassword&lt;/span&gt;");&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;      smtpcli.Send(MailObj);&lt;br /&gt;}catch (Exception ex){&lt;br /&gt;      throw ex;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;I am tying to send atachment and download emails from pop servers, I will tell &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;it &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;near&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;future...&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36991193-1224218751618883576?l=indika-kumara.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://indika-kumara.blogspot.com/feeds/1224218751618883576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36991193&amp;postID=1224218751618883576' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36991193/posts/default/1224218751618883576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36991193/posts/default/1224218751618883576'/><link rel='alternate' type='text/html' href='http://indika-kumara.blogspot.com/2007/10/send-mail-with-smtpclient-using-gmail.html' title=''/><author><name>indika kumara</name><uri>http://www.blogger.com/profile/13693952535192241546</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
