how to declare a optional array parameter in a function
i tried it like below but not working ( getting run time error, Object reference not set to an instance of an object. )
any guidance pl
i tried it like below but not working ( getting run time error, Object reference not set to an instance of an object. )
vb.net Code:
Public Sub Fill_Combo_Bound(ByVal Cbo As ComboBox, _ ByVal SQL As String, _ ByVal DisplayField As String, _ ByVal ValueField As String, _ Optional ByVal At_Param() As String = Nothing, _ Optional ByVal At_values() As String = Nothing) end sub