datagrid columns

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • roundcrisis

    #1

    datagrid columns

    hi there:

    Any simple way to change the datagrid columns type at run time?

    winforms
    I have a datagridview, I need to make some columns checkboxes and some
    columns to have a button at the end of the column.
    This grid is databound at run time
    Thansk for the help

    cheers
  • =?Utf-8?B?U29tIE5hdGggU2h1a2xh?=

    #2
    RE: datagrid columns

    yes u can change types of datacolumn at runtime by using event datarorbound.

    "roundcrisi s" wrote:
    hi there:
    >
    Any simple way to change the datagrid columns type at run time?
    >
    winforms
    I have a datagridview, I need to make some columns checkboxes and some
    columns to have a button at the end of the column.
    This grid is databound at run time
    Thansk for the help
    >
    cheers
    >

    Comment

    • Cor Ligthert[MVP]

      #3
      Re: datagrid columns

      Hi

      What do you mean by this sentence?
      >have a datagridview, I need to make some columns checkboxes and some
      >columns to have a button at the end of the column.
      Do you mean by instance the top textboxes, the middle part buttons, and then
      checkboxes at the end rows?

      By the way, is it a DataGrid or a DataGridView because you are using those
      intermixed, beside the first 8 characters of its name is it almost a
      complete different control?

      Therefore if you want, (not only in this case however in every development
      situation) an answer when developing, then be at least clear in your own
      questions.

      Cor

      "roundcrisi s" <roundcrisis@gm ail.comschreef in bericht
      news:ca6af435-b8c9-48a9-9c7a-cfaddbfecc5d@w2 8g2000hsf.googl egroups.com...
      hi there:
      >
      Any simple way to change the datagrid columns type at run time?
      >
      winforms
      I have a datagridview, I need to make some columns checkboxes and some
      columns to have a button at the end of the column.
      This grid is databound at run time
      Thansk for the help
      >
      cheers

      Comment

      Working...