Click here to Skip to main content
15,919,500 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: problem in the site search Pin
eyeseetee6-May-08 4:59
eyeseetee6-May-08 4:59 
QuestionTwin Panels Pin
Reelix5-May-08 20:55
Reelix5-May-08 20:55 
AnswerRe: Twin Panels Pin
Abhijit Jana5-May-08 21:19
professionalAbhijit Jana5-May-08 21:19 
GeneralRe: Twin Panels Pin
Reelix5-May-08 21:27
Reelix5-May-08 21:27 
GeneralRe: Twin Panels Pin
Abhijit Jana5-May-08 21:38
professionalAbhijit Jana5-May-08 21:38 
Questionweb setup of asp.net c# and contains crystal reports Pin
Pankaj Garg5-May-08 20:42
Pankaj Garg5-May-08 20:42 
AnswerRe: web setup of asp.net c# and contains crystal reports Pin
Vasudevan Deepak Kumar5-May-08 21:52
Vasudevan Deepak Kumar5-May-08 21:52 
QuestionWhy this program run twice before terminate? Pin
BabyOreo5-May-08 20:33
BabyOreo5-May-08 20:33 
halo..
I want to send email to my account but this program run twice. So,after click on submit button, 2 same mails send to my account.How this could happen?
Thanks.

<code><small>Imports System.Net.Mail

Partial Class _Default
Inherits System.Web.UI.Page

Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

Try
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
litStatus.Text = "Message Sent"
Catch ex As Exception
litStatus.Text = ex.ToString()
End Try

End Sub
AnswerRe: Why this program run twice before terminate? Pin
eyeseetee5-May-08 21:57
eyeseetee5-May-08 21:57 
AnswerRe: Why this program run twice before terminate? Pin
Anoop Brijmohun5-May-08 22:58
Anoop Brijmohun5-May-08 22:58 
QuestionAjax page call Pin
i gr85-May-08 20:09
i gr85-May-08 20:09 
AnswerRe: Ajax page call Pin
Christian Graus5-May-08 20:10
protectorChristian Graus5-May-08 20:10 
GeneralRe: Ajax page call Pin
i gr85-May-08 20:48
i gr85-May-08 20:48 
GeneralRe: Ajax page call Pin
Vasudevan Deepak Kumar5-May-08 21:55
Vasudevan Deepak Kumar5-May-08 21:55 
GeneralRe: Ajax page call Pin
Christian Graus5-May-08 21:55
protectorChristian Graus5-May-08 21:55 
AnswerRe: Ajax page call Pin
Vasudevan Deepak Kumar5-May-08 21:54
Vasudevan Deepak Kumar5-May-08 21:54 
Questionhow do i grab frame from web cam using asp.Net Pin
koolprasad20035-May-08 19:57
professionalkoolprasad20035-May-08 19:57 
AnswerRe: how do i grab frame from web cam using asp.Net Pin
Christian Graus5-May-08 20:10
protectorChristian Graus5-May-08 20:10 
GeneralRe: how do i grab frame from web cam using asp.Net Pin
koolprasad20036-May-08 3:21
professionalkoolprasad20036-May-08 3:21 
AnswerRe: how do i grab frame from web cam using asp.Net Pin
Vasudevan Deepak Kumar5-May-08 21:56
Vasudevan Deepak Kumar5-May-08 21:56 
GeneralRe: how do i grab frame from web cam using asp.Net Pin
koolprasad20036-May-08 3:21
professionalkoolprasad20036-May-08 3:21 
Questiondisplaying image in IMAGE control? Pin
Karan_TN5-May-08 19:05
Karan_TN5-May-08 19:05 
AnswerRe: displaying image in IMAGE control? Pin
Christian Graus5-May-08 19:11
protectorChristian Graus5-May-08 19:11 
QuestionRe: displaying image in IMAGE control? Pin
Karan_TN5-May-08 19:40
Karan_TN5-May-08 19:40 
AnswerRe: displaying image in IMAGE control? Pin
Krazy Programmer5-May-08 20:05
Krazy Programmer5-May-08 20:05 

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.