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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -