Datagridview Add row when databound

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • twq@hispeed.ch

    #1

    Datagridview Add row when databound

    hello

    I have a datagridview in which one column is a datagridCombobo x Column
    which is data bound, in the second column the user is allowed to
    enter what ever he wants, and i want the user to add rows via a
    context menu only, i get an error message that rows can not be
    programmaticall y added if control is databound, are there any
    workarounds?

    thanks
    best regards
    Tobias

  • twq@hispeed.ch

    #2
    Re: Datagridview Add row when databound

    On 12 Mrz., 15:10, "t...@hispeed.c h" <t...@hispeed.c hwrote:
    hello
    >
    I have a datagridview in which one column is a datagridCombobo x Column
    which is data bound, in the second column the user is allowed to
    enter what ever he wants, and i want the user to add rows via a
    context menu only, i get an error message that rows can not be
    programmaticall y added if control is databound, are there any
    workarounds?
    >
    thanks
    best regards
    Tobias
    Sorry my mistake, I assigned a datatable to the grid earlier in the
    code, works perfectly,
    best regards

    Comment

    Working...