Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Get value of textbox in DataGrid


Message #1 by "Markus Schmidt" <markus.schmidt@c...> on Tue, 3 Jul 2001 11:08:50
Hello,



for an update command I want to get the current value of a textbox.

In beta 1 everything worked fine with the following statement:



c#



private void aktualisieren(object source, 

System.Web.UI.WebControls.DataGridCommandEventArgs e)

{

((TextBox)e.Item.Cells[1].Controls[0]).Text;

}



But now in Beta 2 I get not the current value, instead I

get the value of the textbox before I made any changes.



Any ideas ?



Best regards

Markus

  Return to Index