
12/07/2005, 06:50
|
 | | | Fecha de Ingreso: junio-2004 Ubicación: Misantla,Ver.Mexico
Mensajes: 181
Antigüedad: 20 años, 8 meses Puntos: 0 | |
Aqui un ejemplo de mi codigo usando templates y boundcolumns, en el evento update.
Private Sub GridMetricWE_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs ) Handles GridMetricWE.UpdateCommand
'Actualizacion de los valores
Dim value1, value2 As String
Dim orderID As String
Dim DateID As String
value1 = (CType(e.Item.FindControl("txtValue"), Infragistics.WebUI.WebDataInput.WebNumericEdit).Te xt) '*template
value2 = (CType(e.Item.FindControl("txtValue2"), Infragistics.WebUI.WebDataInput.WebNumericEdit).Te xt) '*template
orderID = (e.Item.Cells(0).Text) '*boundcolumn
DateID = (e.Item.Cells(2).Text) '*boundcolumn
...
...
end sub |