Hi,
Here is the way. u can send mail to admin, while entering the data into DB
using System.Net.Mail;
MailMessage msgMail = null;
MailAddress objMAddTo,objMAddFrom = null;
SmtpClient objSMTP = new SmtpClient();
objSMTP.Host = ""; // set your SMTP mail server.. domainname or the IP
objMAddTo = new MailAddress("admin@test.com"); //Admin details
objMAddFrom = new MailAddress("user@test.com", "User"); // sender details
msgMail = new MailMessage(objMAddFrom, objMAddTo);
msgMail.IsBodyHtml = true; // if your Body contains HTML tags
msgMail.Subject = "Report Fault Error";
msgMail.Body = "Hi Admin, Error Reporting here"; //your complete email body contents here
objSMTP.Send(msgMail);