Hi
How do i call a function which is on a different page?
Thanks
Calling a Function which is on a different Page
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Mahesh Joshi70 reputationPosted Mar 10, 2008, 2:59 AM EDT
Mandla Tshili5 reputationPosted Mar 12, 2008, 2:18 AM EDT
Protected Function Send_Email(ByVal drwNumber As String, ByVal _page As Page)
Dim myPage As New Page
Dim message As New System.Net.Mail.MailMessage("email1", "email2")
message.Subject = "Image Order"
message.Body = "Please send me the following Image : "
Dim smtp As New System.Net.Mail.SmtpClient("localhost")
smtp.Send(message)
End Function