Datagridview Arabic Localization? C# 2010 Application
-
I have small Windows Forms project. And My DataGridView Query like the following manner: string MyQuery1="select field1,field2,field3 from myTable"; Con.Open(); MySqlAdapter=New sqlAdapter(MyQuery1,con); MySqlAdapter.fill(MyTable); Con.Close(); DataGridview1.DataSource=MyTable; Now, my DataGridView's columns displaying like Field1, Feidl2, Field3... good in English Mode...[Left to right] But when My user changes his keyboard language this datagridview should display like the below manner...Is it possible? Field3, Fiedl2, Field1 [Right to left] Thanks && Regards :thumbsup: PARAMU
-
I have small Windows Forms project. And My DataGridView Query like the following manner: string MyQuery1="select field1,field2,field3 from myTable"; Con.Open(); MySqlAdapter=New sqlAdapter(MyQuery1,con); MySqlAdapter.fill(MyTable); Con.Close(); DataGridview1.DataSource=MyTable; Now, my DataGridView's columns displaying like Field1, Feidl2, Field3... good in English Mode...[Left to right] But when My user changes his keyboard language this datagridview should display like the below manner...Is it possible? Field3, Fiedl2, Field1 [Right to left] Thanks && Regards :thumbsup: PARAMU
- Format your code snippets using the "code block" toolbar item A simple way would be to have another query with the field order reversed.
I know the language. I've read a book. - _Madmatt
modified on Wednesday, June 29, 2011 11:59 AM
-
I have small Windows Forms project. And My DataGridView Query like the following manner: string MyQuery1="select field1,field2,field3 from myTable"; Con.Open(); MySqlAdapter=New sqlAdapter(MyQuery1,con); MySqlAdapter.fill(MyTable); Con.Close(); DataGridview1.DataSource=MyTable; Now, my DataGridView's columns displaying like Field1, Feidl2, Field3... good in English Mode...[Left to right] But when My user changes his keyboard language this datagridview should display like the below manner...Is it possible? Field3, Fiedl2, Field1 [Right to left] Thanks && Regards :thumbsup: PARAMU
This should work. I've just tried it and it seemed to do exactly what you wanted.
dataGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
-
This should work. I've just tried it and it seemed to do exactly what you wanted.
dataGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
My 1/2 tension get released. Nice & Wonderful !!! Thanks For The Helps...!:rose: Thanks & Regards PARAMU