This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.
Protected Sub deleteRecord() 'I want to add a confirm box here and if the user selects 'OK' then continue the rest of the code. Dim conn As SqlConnection = New SqlConnection conn.ConnectionString = ConfigurationManager.ConnectionStrings("FT").ConnectionString conn.Open() Dim sSQL As String = "DELETE FROM..." Dim cmd As SqlCommand = New SqlCommand(sSQL, conn) With cmd.Parameters .Add(New SqlParameter("@****", cboLenders.SelectedValue)) End With cmd.ExecuteNonQuery() cmd.Dispose() conn.Dispose() End Sub
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!