c# - Error in populating Datagrid view -


i have database contains hebrew language(foreign characters) in it.

when populate in grid view.

it gets populated in reverse order(left right)

for example: "כן" getting populated "ןכ"

can help??

set datagridview control's righttoleft property righttoleft.yes. instructs control should align support locales use right-to-left fonts (such hebrew).

the documentation pretty explicit here:

the righttoleft property used international applications language written right left, such hebrew or arabic. when property set righttoleft.yes, control elements include text displayed right left.

you can either in visual studio designer, or through code so:

mydatagridview.righttoleft = righttoleft.yes; 

Comments