1: 2: 3: 4: 5:
Protected Sub ToolDesignSqlDataSource_Updating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceCommandEventArgs) Handles ToolDesignSqlDataSource.Updating If IsDate(e.Command.Parameters("@tool_design_complete_date")) Then e.Command.Parameters("@priority").Value = "PEND" End If End Sub