Hi Brandon, thanks for you answer,
It resolved as folows, only change this line
Guid id = new Guid(grdListadoDeSitio.SelectedDataKey["IdSitio"].ToString());
as this

Guid id = new Guid(grdListadoDeSitio.DataKeys[e.RowIndex].Value.ToString());
And worked correctly.


Again, tankyou for your answer.


Brandon Betances escribió:
You have to instances of GUID with the same name? Try changing the second one. Or remove the ToString() method. Lemme know what happens.

Reply via email to