hi,
thanks for the quick response.
actually it does have an effect on the DataRowState but it still needs a bit more tweaking.
anyways, after reading your advice, i now have
however i get the error "Error 1: Argument not specified for parameter 'e' of 'Protected Overridable Sub OnValueChanged(e As System.EventArgs)'." on the lineCode:Public Event ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Protected Overridable Sub OnValueChanged(ByVal e As System.EventArgs) RaiseEvent ValueChanged(Me, e) End Sub Property Value() As Nullable(Of DateTime) Get Return _Value End Get Set(ByVal value As Nullable(Of DateTime)) If Not _Value.Equals(value) Then _Value = value Call OnValueChanged() If value.HasValue Then _Value = value MyBase.Text = value.Value.ToString(_FormatMask).ToUpper() Else MyBase.Text = String.Empty End If End If End Set End Property
as i'm not sure what to pass to it since there's no System.EventArgs as parameter in the property.Code:Call OnValueChanged()
please help.
thanks.




Reply With Quote