Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. localizable form gridview issue

localizable form gridview issue

Scheduled Pinned Locked Moved C#
designhelpquestionannouncement
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    muharrem
    wrote on last edited by
    #1

    Hi all, I have localizable form having some buttons and datagridview. I added all the columns at design time to the datagridview. Then I translated the localized version, say in German. When I change the my culture info at run time, all buttons show the localized (translated) texts, but my gridview does't show the translated column headers. Any idea? Thanks, Muharrem

    N 1 Reply Last reply
    0
    • M muharrem

      Hi all, I have localizable form having some buttons and datagridview. I added all the columns at design time to the datagridview. Then I translated the localized version, say in German. When I change the my culture info at run time, all buttons show the localized (translated) texts, but my gridview does't show the translated column headers. Any idea? Thanks, Muharrem

      N Offline
      N Offline
      nelsonpaixao
      wrote on last edited by
      #2

      i don´t know how to set the columns headers name in c#, because i do it in sql. But i bet it´s easy. Now, are the data (to the datagridview) comming from sql database? if right, write then there not in c#. :rolleyes:

      M 1 Reply Last reply
      0
      • N nelsonpaixao

        i don´t know how to set the columns headers name in c#, because i do it in sql. But i bet it´s easy. Now, are the data (to the datagridview) comming from sql database? if right, write then there not in c#. :rolleyes:

        M Offline
        M Offline
        muharrem
        wrote on last edited by
        #3

        Let me more specific. I added datagridview control to my form. Then I edited columns through the property window in vs2005. So I added some column with names and columns header. I also defined the DataPropertyName of the column to the column which is in my result table coming from a database table.So far so good.But I am also having the form in a different language created with Localizable property of the form. In this second form I changed the column headers in design mode. What I expect is to see the localized column header when I change the form to the localized version. All my other controls display their respective localized text but not gridview. Any idea? Thanks again Muharrem

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups