Datagridview

  • Thread starter Thread starter Ste
  • Start date Start date
S

Ste

Good morning,

I have a datagrid view with one textboxcolumn and one buttoncolumn.

When I press the button on a row a folderbrowser dialog is shown. When I
select a path and press ok write the result path on related text cell.

The problem is that new record is not added and I cannot insert new rows.

Thank you.
Stefano.

P.S. Datagrid is bounded with a custom object, if i write directly in
the text cell all is done correctly.
 
Good morning,

I have a datagrid view with one textboxcolumn and one buttoncolumn.

When I press the button on a row a folderbrowser dialog is shown. When I
select a path and press ok write the result path on related text cell.

in the same row right?
The problem is that new record is not added and I cannot insert new rows.

how do you add a new row?

how do you update the selected file in a row?
 
Ignacio Machin ( .NET/ C# MVP ) ha scritto:
in the same row right?

Yes,

columns are :

source (textcolumn)

selSource (buttoncolumn)

Pressing selSource I can browse folders and when I select one his path
is write in source cell on the same row.
how do you add a new row?

I need to have normal behaviour, the problem is that when i write by
keyboard on a cell a new row is added at the bottom, when i set value
property for the cell nothing happens.
how do you update the selected file in a row?

Simply setting his cell value property.

Thank you.
Stefano.
 
Back
Top