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

ASP.NET

 
GeneralRe: can we bind datatextfield and datavaluefield in a dropdownlist using for loop in asp.net(code behind) Pin
M.Ramesh22-Apr-08 1:16
M.Ramesh22-Apr-08 1:16 
GeneralRe: can we bind datatextfield and datavaluefield in a dropdownlist using for loop in asp.net(code behind) Pin
Sandeep Akhare22-Apr-08 1:46
Sandeep Akhare22-Apr-08 1:46 
GeneralRe: can we bind datatextfield and datavaluefield in a dropdownlist using for loop in asp.net(code behind) Pin
M.Ramesh22-Apr-08 1:56
M.Ramesh22-Apr-08 1:56 
Questionhow to send mail using smpt server Pin
sugunavathysubramanian21-Apr-08 20:55
sugunavathysubramanian21-Apr-08 20:55 
AnswerRe: how to send mail using smpt server Pin
Sandeep Akhare21-Apr-08 21:06
Sandeep Akhare21-Apr-08 21:06 
AnswerRe: how to send mail using smpt server Pin
Christian Graus21-Apr-08 21:19
protectorChristian Graus21-Apr-08 21:19 
GeneralRe: how to send mail using smpt server Pin
eyeseetee21-Apr-08 22:15
eyeseetee21-Apr-08 22:15 
AnswerRe: how to send mail using smpt server Pin
Piyush Vardhan Singh21-Apr-08 22:51
Piyush Vardhan Singh21-Apr-08 22:51 
Imports System.Net.Mail

Try
Dim userEmailAddress As String = _Setting.SMTPUsername
'Create the MailMessage instance
Dim _MailMessage As New MailMessage(userEmailAddress, ToUserId)
'Assign the MailMessage's properties
_MailMessage.Subject = Subject
_MailMessage.Body = Body
_MailMessage.IsBodyHtml = False
'Create the SmtpClient object
Dim smtp As New SmtpClient
smtp.Host = _Setting.SMTPServer
smtp.Port = _Setting.SMTPPort
Dim networkCredential As New Net.NetworkCredential(SMTPUsername, SMTPPassword)
smtp.Credentials = networkCredential
'Send the MailMessage (will use the config settings)
smtp.Send(_MailMessage)
Catch ex As Exception
Trace.WriteLine(" Class:- SMTPGateway, Function:- SendEmail() : Error: " + ex.ToString, Tracing.MSG_EXCEPTION)
End Try

Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com



GeneralRe: how to send mail using smpt server Pin
Reelix22-Apr-08 0:14
Reelix22-Apr-08 0:14 
Questionhow to return value from server in remoting Pin
Piyush Vardhan Singh21-Apr-08 20:54
Piyush Vardhan Singh21-Apr-08 20:54 
AnswerRe: how to return value from server in remoting Pin
eyeseetee21-Apr-08 22:12
eyeseetee21-Apr-08 22:12 
GeneralRe: how to return value from server in remoting Pin
Piyush Vardhan Singh21-Apr-08 22:44
Piyush Vardhan Singh21-Apr-08 22:44 
GeneralRe: how to return value from server in remoting Pin
eyeseetee21-Apr-08 22:58
eyeseetee21-Apr-08 22:58 
GeneralRe: how to return value from server in remoting Pin
Piyush Vardhan Singh21-Apr-08 23:18
Piyush Vardhan Singh21-Apr-08 23:18 
QuestionProblem in Displaying msgBox. Pin
ArunVijay21-Apr-08 20:43
ArunVijay21-Apr-08 20:43 
AnswerRe: Problem in Displaying msgBox. Pin
Sonia Gupta21-Apr-08 20:59
Sonia Gupta21-Apr-08 20:59 
GeneralRe: Problem in Displaying msgBox. Pin
ArunVijay21-Apr-08 21:07
ArunVijay21-Apr-08 21:07 
GeneralRe: Problem in Displaying msgBox. Pin
Christian Graus21-Apr-08 21:19
protectorChristian Graus21-Apr-08 21:19 
GeneralRe: Problem in Displaying msgBox. Pin
ArunVijay22-Apr-08 15:48
ArunVijay22-Apr-08 15:48 
GeneralRe: Problem in Displaying msgBox. Pin
Christian Graus22-Apr-08 15:54
protectorChristian Graus22-Apr-08 15:54 
GeneralProblem in logging Out Pin
Deepak Nigam21-Apr-08 20:23
Deepak Nigam21-Apr-08 20:23 
GeneralRe: Problem in logging Out Pin
Sandeep Akhare21-Apr-08 20:31
Sandeep Akhare21-Apr-08 20:31 
GeneralRe: Problem in logging Out Pin
Deepak Nigam21-Apr-08 20:35
Deepak Nigam21-Apr-08 20:35 
GeneralRe: Problem in logging Out Pin
Sandeep Akhare21-Apr-08 20:46
Sandeep Akhare21-Apr-08 20:46 
GeneralRe: Problem in logging Out Pin
Deepak Nigam21-Apr-08 21:02
Deepak Nigam21-Apr-08 21:02 

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.