G
Guest
Hi
I'm trying to read values from editing row. I attempt to use :
protected void _DetailsView_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{
string s = e.NewValues["columnName"];
.....
}
but e.NewValues.Count = 0 and e.OldValues.Count = 0 and e.Keys.Count = 0.
DataKeyNames is filled with the names of the correct keys. Can someone
suggest me where I am erring ? Does an other way exist to fetch these values
from the details fields ?
Thank and Best regards
I'm trying to read values from editing row. I attempt to use :
protected void _DetailsView_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{
string s = e.NewValues["columnName"];
.....
}
but e.NewValues.Count = 0 and e.OldValues.Count = 0 and e.Keys.Count = 0.
DataKeyNames is filled with the names of the correct keys. Can someone
suggest me where I am erring ? Does an other way exist to fetch these values
from the details fields ?
Thank and Best regards