E
Eins via DotNetMonster.com
Dear all;
I have the following code:
Dim Remark
Remark = Request.Form("Remark")
sql = "INSERT INTO TblTestTable " _
& "(Comment) " _
& "VALUES (N'" & Remark & "')"
dbconn.open()
dbcomm=New OleDbCommand(sql,dbconn)
dbcomm.ExecuteNonQuery()
dbconn.Close()
txtDisplay.text = "The remark posted: " & Remark
When I write into my database with N'" & Remark & "' the Chinese
characters are stored into my database correctly.
However, when I try to display what I have in my variable (Remark), all I get
is ???
How can I solve this?
Please help.
Thank you.
PS:
I am doing my coding with VB ASP.net.
My database is MS SQL 2000
I have the following code:
Dim Remark
Remark = Request.Form("Remark")
sql = "INSERT INTO TblTestTable " _
& "(Comment) " _
& "VALUES (N'" & Remark & "')"
dbconn.open()
dbcomm=New OleDbCommand(sql,dbconn)
dbcomm.ExecuteNonQuery()
dbconn.Close()
txtDisplay.text = "The remark posted: " & Remark
When I write into my database with N'" & Remark & "' the Chinese
characters are stored into my database correctly.
However, when I try to display what I have in my variable (Remark), all I get
is ???
How can I solve this?
Please help.
Thank you.
PS:
I am doing my coding with VB ASP.net.
My database is MS SQL 2000