Convert from English to Hindi using c#
I am developing a offline windows application in which I want to convert data in hindi. Suppose a user enters his name in textbox in english, it should automatically get converted in hindi as types.
Thanks in Advance !!!
Answers (4)
0
<b> Report Date: 2016-11-21 Optometrist: start Time: Consultant: Dr.suresh</b>
0
Hi,
Please try below query -
- DECLARE @x XML = '<table WIDTH="100%" CELLPADDING="1" CELLSPACING="1">
-
- <tr style="COLOR: black; FONT-FAMILY: Arial; FONT-SIZE: 10pt;BACKGROUND-COLOR: #f2f2f2;">
- <td><b>Report Date : </b>2016-11-21 </td>
- <td><b>Optometrist : </b> </td>
- <td><b>Start Time : </b> </td>
- </tr>
-
- <tr style="COLOR: black; FONT-FAMILY: Arial; FONT-SIZE: 10pt;BACKGROUND-COLOR: #f2f2f2;">
- <td><b>Consultant : </b>Dr.Suresh </td>
- </tr>
-
- </table>'
-
- SELECT t.c.value('.', 'NVARCHAR(MAX)')
- FROM @x.nodes('*') t(c)
Reference :
https://stackoverflow.com/questions/38868364/sql-remove-all-html-tags-in-a-string