con = New SqlConnection(cs)
con.Open()
Dim cq As String = "delete from Product where ProductCode=@DELETE1;"
cmd = New SqlCommand(cq)
cmd.Connection = con
cmd.Parameters.Add(New SqlParameter("@DELETE1", SqlDbType.NVarChar, 20, "ProductCode"))
cmd.Parameters("@DELETE1").Value = Trim(txtProductCode.Text)
On this page of the site you can watch the video online how to delete data from SQL Server database Using VB.NET with a duration of hours minute second in good quality, which was uploaded by the user SUNDEEPGAMEIN 24 November 2018, share the link with friends and acquaintances, this video has already been watched 32 times on youtube and it was liked by 0 viewers. Enjoy your viewing!