Click here to Skip to main content
15,915,172 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionLogin Contorls Pin
hahii27-May-09 11:30
hahii27-May-09 11:30 
AnswerRe: Login Contorls Pin
Ramesh Swaminathan27-May-09 18:45
Ramesh Swaminathan27-May-09 18:45 
QuestionTextBox in Gridview retaining old value Pin
dreamaway82027-May-09 11:11
dreamaway82027-May-09 11:11 
AnswerRe: TextBox in Gridview retaining old value Pin
padmanabhan N27-May-09 15:51
padmanabhan N27-May-09 15:51 
GeneralRe: TextBox in Gridview retaining old value Pin
dreamaway82028-May-09 3:19
dreamaway82028-May-09 3:19 
GeneralRe: TextBox in Gridview retaining old value Pin
Herman<T>.Instance28-May-09 5:05
Herman<T>.Instance28-May-09 5:05 
GeneralRe: TextBox in Gridview retaining old value Pin
dreamaway82028-May-09 5:25
dreamaway82028-May-09 5:25 
QuestionOpen new outlook windows with body of email dynamically filled [modified] Pin
Ragonastick27-May-09 8:41
Ragonastick27-May-09 8:41 
Hi guys I am currently working on a web application where people can fill out information in a timesheet, and then it will store that information on a database, and then send a link to it to payroll
by email.
This is the current code that I have

Dim msgs As New MailMessage

                       msgs.To = SupervisorEmailGet()
                       msgs.From = "Payroll@server.ca"
                       msgs.Subject = NameTextBox.Text &amp; " Hours for " &amp; Session("date")

                       msgs.BodyFormat = MailFormat.Text
                       msgs.Body = "Employee: " &amp; NameTextBox.Text &amp; ControlChars.NewLine &amp; "Department: " &amp; DepartmentDropDownList.SelectedItem.Text &amp; _
                   ControlChars.NewLine &amp; "Supervisor: " &amp; SupervisorDropDownList.SelectedItem.Text &amp; _
                   ControlChars.NewLine &amp; "The supervisor of " &amp; NameTextBox.Text &amp; " has viewed their time sheet." &amp; _
                   " You can view the employees hours at the website shown: http://ServerHostName/TimeSheet/NewTimeSheet.aspx?ID=" & intNewId

                       SmtpMail.SmtpServer = "smtp.bellnet.ca"

                       SmtpMail.Send(msgs)
                       msgs = Nothing



it works but the person I am working on it for wants the web app to open up their Microsoft Outlook 2007 with a new mail window(like a mailtoSmile | :) , but wants the information filled in dynamically through the program. The reason why they want to have a mail window is just because outlook runs locally, or if the person filling out the timesheet needs to change the body of the email.

If anyone knows how to do that I would be happy or if you know how to get the code up top to run locally I would be more than satisfied with that.

modified on Wednesday, May 27, 2009 4:03 PM

AnswerRe: Open new outlook windows with body of email dynamically filled Pin
Ragonastick27-May-09 10:05
Ragonastick27-May-09 10:05 
QuestionHow do I prevent a db injection attempt application break Pin
Lara Nabozny27-May-09 8:14
Lara Nabozny27-May-09 8:14 
AnswerRe: How do I prevent a db injection attempt application break Pin
Olivier_Giulieri27-May-09 12:01
Olivier_Giulieri27-May-09 12:01 
AnswerRe: How do I prevent a db injection attempt application break Pin
Vimalsoft(Pty) Ltd27-May-09 20:44
professionalVimalsoft(Pty) Ltd27-May-09 20:44 
QuestionTooltip on mouseover of rows of grid Pin
nainakarri27-May-09 7:18
nainakarri27-May-09 7:18 
AnswerRe: Tooltip on mouseover of rows of grid Pin
Herman<T>.Instance28-May-09 5:07
Herman<T>.Instance28-May-09 5:07 
QuestionGetting the username of the person who logged into the system from asp.net page Pin
nainakarri27-May-09 7:08
nainakarri27-May-09 7:08 
AnswerRe: Getting the username of the person who logged into the system from asp.net page Pin
Baran M27-May-09 8:24
Baran M27-May-09 8:24 
AnswerRe: Getting the username of the person who logged into the system from asp.net page Pin
dreamaway82027-May-09 10:59
dreamaway82027-May-09 10:59 
QuestionUploading data to an online database Pin
breakoutfoo27-May-09 6:13
breakoutfoo27-May-09 6:13 
AnswerRe: Uploading data to an online database Pin
David Mujica27-May-09 8:02
David Mujica27-May-09 8:02 
AnswerRe: Uploading data to an online database Pin
dptalt27-May-09 8:07
dptalt27-May-09 8:07 
QuestionJava script and updating the database Pin
dptalt27-May-09 5:36
dptalt27-May-09 5:36 
AnswerRe: Java script and updating the database Pin
Baran M27-May-09 8:32
Baran M27-May-09 8:32 
GeneralRe: Java script and updating the database Pin
dptalt27-May-09 8:53
dptalt27-May-09 8:53 
GeneralRe: Java script and updating the database Pin
Baran M27-May-09 18:18
Baran M27-May-09 18:18 
QuestionHow To Get AM and P.M is extension of this control Pin
axman_podili@yahoo.co.in27-May-09 5:23
axman_podili@yahoo.co.in27-May-09 5:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.