A controller will decide what to do and what to display in the view. It works as follows:
i) A request will be received by the controller
ii) Basing on the request parameters, it will
11/4/2012 12:00:00 AM
1.Put this in .aspx
<%@ Import Namespace=" System.Net.NetworkInformation"%> above
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "ht
Read more...
9/19/2012 12:00:00 AM
1. 1) Go to Start >> All Programs >> Microsoft visual studio 2008 >> Visual Studio Tools >> Visual Studio 2008 Command Prompt (Note: if you’re using windows 7 right click on command prompt and select Run as administrator)
2. 2) after op
Read more...
7/31/2012 12:00:00 AM
Sending email from a web page is one of the most common functionality required from a web site.
The System.Web.Mail Namespace in the .NET Framework contains the required support classes and enumerations for email capabilities.
The main classes used are System.Web.Mail.MailMessage and the SmtpMail class. contains the listing for a simple web form to send email. This form assumes that the SMTP service is running on the serve
Step 1 Add Code in .cs File
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Web.Mail;
using System.Net.Mail;
using System.Net.NetworkInformation;
using System.Net;
using System.Net.Mime;
public partial class enquiry : System.Web.UI.Page
{
protected void Page_Load(obj
Read more...
7/30/2012 12:00:00 AM
$file_name = $_FILES['uploadFile']['name'];
<
Read more...