0

How is the coding to insert the emoji into the SQL Server database so it doesn't become a sign ????

I have changed the chart type to NVARCHAR. The following coding that I have used in VB.Net

Private Sub btbInput_Click(sender As Object, e As EventArgs) Handles btbInput.Click
    Call Koneksi()
    Dim InputData As String = "insert into Perintah values ('" & txtPerintah.Text & "','" & txtRespon.Text & "')"
    Cmd = New SqlCommand(InputData, Conn)
    Cmd.ExecuteNonQuery()
    MsgBox("Perintah berhasil di input")
    Call KondisiAwal()
End Sub
Dale K
  • 25,246
  • 15
  • 42
  • 71

0 Answers0