Introduction This application demonstrates how to send mail with attachments using SMTP server and how to configure the default SMTP server. The System.Web.Mail namespace provides classes for sending email in .NET. The classes involved are MailMessage which manages the content of the mail message and...
My former colleague asked me if it is possible to attach an alternating color to a DropDownList control, similar with the GridView’s alternating rows. I found out that you can achieve that, by setting the background-color of the ListItem using “style” attributes. Here is the code. ...
More than 2 years ago I wrote this article and submitted it in CodeProject detailing how you can build a FileSystem Browser in ASP.NET. The article talks about how newbie ASP developers moving to ASP.NET might code the solution and how somebody a little bit more familiar with ASP.NET would build the...
"Combine. Merge. Join. Append. Concatenate. Microsoft Word Documents." A few weeks ago I wrote an article about merging word documents in C# and got great response about the article. One of the readers, Abhi, had an interesting problem. The application he wrote was throwing this error: Word...
This is the first part our series about ADO.NET which is part of our Back To The Basic Series which is a series designed to teach beginners about the benefits of ADO.NET and to show how easy it is to use the ADO.NET in a short 10 to 15 minute video using Tagalog as the medium. Our idea is to start from...
This is a really basic stuff that alot of developers tend to forget(just like me :D) [C# VERSION] using System; using System.Collections.Generic; using System.Text; using System.Drawing.Text; using System.Drawing; namespace KeithRull.MachineFonts { class Program { static void Main( string [] args) {...