Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to change the language of the web page based on drop down list selected value and i came across the UICulture method, which uses the resource file to change the Constant data in the web page. What method do i need to use, if i need to change the grid-view data which is fetched from the data base.

Thanks in advance
Posted

1 solution

You cannot change data from database by just changing the drop down value.
You need to do this translation yourself - build a resource file that does the mapping of data to appropriate text in the other language.
 
Share this answer
 
Comments
Yashwanth R 11-Nov-13 5:44am    
can i change database data to appropriate language selected and then bind it to grid view..??

what method can i use to accomplish this task.
Abhinav S 11-Nov-13 5:46am    
Yes you can do that provided you do all your translations before binding.
Yashwanth R 11-Nov-13 5:54am    
can u share any link which help me to understand the process clearly.
Abhinav S 11-Nov-13 5:57am    
http://weblogs.asp.net/sreejukg/archive/2010/11/23/multi-lingual-web-applications-using-asp-net-4.aspx
However, this does not consider database localization.
Yashwanth R 11-Nov-13 6:08am    
I have done till localization using resx file, I want to do database value localization.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900