Hi,
>I have attached this handler
How did you implement the handler ?
> but when the user goes to the last (empty) row of the grid and then leaves
> this fake data row an error is reported and DataGrid does detect that the
> user hasnt entered any value and the row should be dissmissed!?
If the user enters the empty row and then leaves without entering any data
then the row should be dismissed and attaching an eventhandler to
TableNewRow for setting a new guid doesn't seem to prevent this.
And are you using a DataGrid or DataGridView ?
HTH,
greetings
> how to correct this problem?
>
[quoted text clipped - 17 lines]
>>
>>> System.Guid.NewGuid()
Leon_Amirreza - 30 Oct 2006 15:03 GMT
the function implementation is this:
void TableGroups_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
(e.Row as DataSetGroups.TableGroupsRow).ID = Guid.NewGuid();
}
> Hi,
>
[quoted text clipped - 36 lines]
>>>
>>>> System.Guid.NewGuid()
Bart Mermuys - 30 Oct 2006 18:01 GMT
Hi,
> the function implementation is this:
>
[quoted text clipped - 5 lines]
>
> }
Looks ok to me, you're saying that this code is causing the problems with
the DGV ?
Greetings
>> Hi,
>>
[quoted text clipped - 36 lines]
>>>>
>>>>> System.Guid.NewGuid()