I'm using a DataGrid object to return conatct information for members. The returned result is fine.
I'm using an EditCommandColumn to make edits to the returned email and/or phone number. After making the changes to the text box and I hit "Update", the original value of the cells is passed back to the form and not the newly changed value.
i.e.
Original RS: name="John", email="bigJohn@yahoo.com"
Changed to: name="John", email="BigJohnStud@yahoo.com"
Here's my onUpdate function:
========================
Sub Update_List(ByVal source As Object, ByVal e As DataGridCommandEventArgs)
Dim tempStr as String
tempStr = e.Item.Cells(0).Text.ToString() & ", " & e.Item.Cells(0).Text.ToString() & ".<br>"
Response.Write(tempStr)
End Sub
========================
The ouput always comes back as:
"John,bigJohn@yahoo.com" instead of "John,bigJohnStud@yahoo.com"
Any ideas?? Thanks.
I'm using an EditCommandColumn to make edits to the returned email and/or phone number. After making the changes to the text box and I hit "Update", the original value of the cells is passed back to the form and not the newly changed value.
i.e.
Original RS: name="John", email="bigJohn@yahoo.com"
Changed to: name="John", email="BigJohnStud@yahoo.com"
Here's my onUpdate function:
========================
Sub Update_List(ByVal source As Object, ByVal e As DataGridCommandEventArgs)
Dim tempStr as String
tempStr = e.Item.Cells(0).Text.ToString() & ", " & e.Item.Cells(0).Text.ToString() & ".<br>"
Response.Write(tempStr)
End Sub
========================
The ouput always comes back as:
"John,bigJohn@yahoo.com" instead of "John,bigJohnStud@yahoo.com"
Any ideas?? Thanks.