In a web application, I place two textboxes and button for inserting the data which is not English language. When I insert into SQL Server it is showing only "???????(1877?)" like this, but I taken the data type as nvarchar
even though it is not coming in that language, is there any different way to insert and display the text which is not in English language.
CREATE TABLE [dbo].[Multilingual](
[name] [nvarchar](50) NULL,
[address] [nvarchar](50) NULL
) ON [PRIMARY]
GO
string sq = "insert into multilingual (name,address) values ('" + txtname.Text + "','" + txtadd.Text + "')";
cmd = new SqlCommand(sq, con);
cmd.CommandType = CommandType.Text;
int i = cmd.ExecuteNonQuery();
if (i == 1)
{
get();
}