Torna al Thread

Private Sub bStrumentoSalva_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bStrumentoSalva.Click cn.open() sql = "INSERT INTO categoriastrumento (categoriastrumento_nome,categoriastrumento_note) VALUES ('" & tbStrumentoNome.Text & "','" & tbStrumentoNote.Text & "')" cmd = New OleDbCommand(sql, cn) dr = cmd.ExecuteReader() cn.close() tbStrumentoNome.Text = "" tbStrumentoNote.Text = "" wDesktop.riempiCategoriaStrumento("") Me.Close() End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5