С первым я уже разобрался...
А как с этим бороться?
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type '_contact'.
Source Error:
Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="contact.aspx.vb" Inherits="_contact" %>
Вот то, что в кодовом файле (contact.aspx.vb)
Код:
Partial Class _contact
Inherits System.Web.UI.Page
Protected Sub btnOk_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOk.Click
Dim msgMail As New System.Web.Mail.MailMessage
msgMail.From = txtFrom.Text
msgMail.To = DropDownList1.SelectedValue.ToString
msgMail.Subject = txtSubject.Text
msgMail.Body = txtMessage.Text
System.Web.Mail.SmtpMail.Send(msgMail)
txtSubject.Text = ""
txtMessage.Text = ""
txtFrom.Text = ""
End Sub
End Class
Вроде все правильно - в файле contact.aspx наследуется класс _contact из кодового файла.... А все равно не работает!!!!! Подскажите люди плиз что делать?