sql - Regional Language (Tamil) font is not displaying -
i have windows forms application saves user-entered text database.
i'm using google input tool enter data in mother tongue language tamil (india).
the text looks correct when enter in text box, when retrieve saved data database displaying ??????
.
below sample of code use save entered text database:
if (!string.isnullorempty(txtcode.text) && !string.isnullorempty(txtname.text)) { if (objmaster == null) objmaster = new masteritem(); objmaster.code = txtcode.text; objmaster.name = txtname.text; string str = objmaster.insert(); // business layer if (str=="1") messagebox.show("done"); else messagebox.show("cant save"); }
the data type of column in database should nvarchar not varchar or else.
Comments
Post a Comment