DataGrid InPlace Editing

  • Thread starter msnews.microsoft.com
  • Start date
M

msnews.microsoft.com

Hi
I wrote this code for InPalce Updating in DataGrid but Label1 shows previous
data not changed data.
Why it doesn't work correctly?
private void DataGrid1_UpdateCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
//
Label1.Text = ((TextBox)e.Item.Cells[1].Controls[0]).Text ;
//....

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top