i've created a web page taking inputs from user. There are some options for users which are optional. but when it is left empty; an error comes saying format of string is not correct. how can i do this? I've put "fieldvalidator" only for compulsory input. I'm inserting data in sql server 2000. here is my code

VB Code:
  1. Sub SaveCustomer(ByVal s As Object, ByVal e As EventArgs) Handles btnSave.Click
  2.  
  3.         If Page.IsValid Then
  4.  
  5.             Dim objCustomer As New BusinessLogicLayer.MyCustomers
  6.  
  7.              objCustomer.RecordId = CType(txtRecordId.Text, Long)
  8.             objCustomer.CustomerNo = CType(txtCustomerNo.Text, Long)
  9.             objCustomer.RecordDate = CType(CurrentDate.Text, DateTime)
  10.             objCustomer.Customername = txtCustomerName.Text
  11.             objCustomer.CustomerCompanyName = txtCompanyName.Text
  12.             objCustomer.CustomerBillingAddress = txtBillingAddress.Text
  13.             objCustomer.CustomerTelePhoneNo = CType(txtTelePh.Text, Long)
  14.          
  15.  
  16.            If Not objCustomer.Save() Then
  17.               lblError.Text = "Could not save Customer"
  18.  
  19.            End If
  20.         End If
  21.     End Sub 'SaveUser

while i've declared variables in "MyCustomers" class as. here i've initialized those variables which are optional

VB Code:
  1. Private _CustomerNo As Long = 0
  2.         Private _RecordId As Long
  3.         Private _RecDate As DateTime
  4.  
  5.         Private _Customername As String
  6.         Private _CustomerCompanyName As String = ""
  7.         Private _CustomerBillingAddress As String
  8.         Private _CustomerTelePhoneNo As Long