An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam. Built for students by a student to help them understand the concepts that they are being taught.
Protected Sub fvAddWorkOrder_ItemInserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewInsertEventArgs) Handles fvAddWorkOrder.ItemInserting Dim newWorkOrderID As New NewWorkOrderID 'Class created to gerenrate next incramental WorkOrderID Dim txtDate As TextBox = DirectCast(fvAddWorkOrder.FindControl("txtDateOpened"), TextBox) Dim dateOpened As Date = txtDate.Text ' date needed to pass into the class to detrmine next woID Dim nextWorkOrderID As String = newWorkOrderID.NewWorkOrderID(dateOpened).ToString() Try e.Values("WorkOrderID") = nextWorkOrderID Catch ex As Exception MsgBox("There was a problem generating the Work Order. Contact System Administrator at 552-7604") Return End Try End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.