J
JJ
OK, I have a new form and I'm still a newbie, and am using a dataset
created with the designer based on SQL Server 2005 tables. Have
dragged a field from the Data Sources on to my form, and VS2005
created a Binding Navigator. Now, when the add button is pressed, I
want to update the createby and createDate with current info. Where,
in the code do I do this? In the BindingNavigatorAddNewItem_Click
code? These fields are not on the form. Also, whats the best way to
determine whether this is an add, or simply an edit on the form. If
its an edit I want to update modifiedBy and modifiedDate.
Hope this makes sense and thanks for your help.
created with the designer based on SQL Server 2005 tables. Have
dragged a field from the Data Sources on to my form, and VS2005
created a Binding Navigator. Now, when the add button is pressed, I
want to update the createby and createDate with current info. Where,
in the code do I do this? In the BindingNavigatorAddNewItem_Click
code? These fields are not on the form. Also, whats the best way to
determine whether this is an add, or simply an edit on the form. If
its an edit I want to update modifiedBy and modifiedDate.
Hope this makes sense and thanks for your help.