shanish
shanish

Reputation: 1984

Web application to accept Tamil font

I am just developing a web application using ASP.Net, which accepts TAMIL font. Here, if I type something in the textbox in tamil, it should be getting saved with the same values whatever I type in it.

For this I just changed the font style of that textbox to BAMINI, with this BAMINI style I can type the words in Tamil, but when I debug the code, the value of the textbox is showing in English only, but I want it should be in Tamil only.

I thought I can fix this by using CultureInfo, and I tried with that. But its not happening. How can I fix this. Can anyone help me out here. Thanks in advance

here is my Style for the textbox,

.tamilTextBox
{
font-family: bamini;
font-size: large;
font-style: oblique;
width: 50%;
}

and in the code behind am trying like this,

customer.FirstName   = txtFirstName.Text.ToString(new 
                                System.Globalization.CultureInfo("ta-IN"));

Upvotes: 2

Views: 2483

Answers (1)

Jaya shanmuga pandian
Jaya shanmuga pandian

Reputation: 72

you need to use resources file(resources.resx) in visual studio for language conversion and when using different languages.

Upvotes: 1

Related Questions