Click here to Skip to main content
15,890,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
AnswerRe: Open new outlook windows with body of email dynamically filled Pin
Ragonastick27-May-09 10:05
Ragonastick27-May-09 10:05 
Found it out Here it is for anyone else that wants to know.
Dim msgs As New MailMessage

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

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

                        SmtpMail.SmtpServer = "ServerHostName.smtpname.ca"  

                        SmtpMail.Send(msgs)
                        msgs = Nothing


ServerHostName = the name of the server hosting the website.
smtpname = The smtp of the server. i.e. smtp.BELLNET.ca
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 
AnswerRe: How To Get AM and P.M is extension of this control Pin
padmanabhan N27-May-09 18:42
padmanabhan N27-May-09 18:42 

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.