Imports EDSL.Entities
Imports EDSL.DAL
Public Partial Class EnquiryControl
Inherits System.Web.UI.UserControl
  Dim objGlobals As New TheGlobals
  Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim objMessage As New dbMainMessage
        'divThankYou.InnerHtml = objMessage.GetMessage(objGlobals.Messages.Enquiryreceived)
  End Sub
  Protected Sub btnSave_click(ByVal sender As Object, ByVal e As EventArgs) 'Handles btnSubmit.Click
        'Dim objMain As New dbMainEnquiry
        'Dim intResultFromSave As Integer
        'intResultFromSave = objMain.SaveItem(0, txtName.Text, txtBusinessName.Text, txtTown.Text, txtCounty.Text, txtPostcode.Text, txtEmail.Text, txtTelephone.Text, txtMessage.value, "","0", 0)
        'Select Case intResultFromSave 
        '  Case 0
        '    divFields.Visible = False
        '    divErrorPanel.Visible = False
        '    divThankYou.Visible = True
        '  Case 1
        '    divErrorPanel.InnerHtml = "Error saving request"
        'End Select
  End Sub
End Class
