Datagridview problem

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

    Datagridview problem

    I have a datagridview I call the CellValidating event and if the the cell
    does not validate I want to reset the cell to a default value. My code
    actually executes this statement:

    datagridview1.C urrentRow.Cells[Columnx].Value = defaultValue;

    but the statement does not change the cell at all. The datagridview is not
    bounded to any datasource.

    --
    L. A. Jones
Working...