Pages

Sunday, April 24, 2011

Gridview_Tips_n_Tricks



------------------------------------------------------------
void GridView1_RowUpdated(Object sender, GridViewUpdatedEventArgs e)

{

// Retrieve the row being edited.

int index = GridView1.EditIndex;

GridViewRow row = GridView1.Rows[index];


// Retrieve the value of the first cell

lblMsg.Text = "Updated record " + row.Cells[1].Text;

}


0 comments:

Post a Comment

 

CodeAddict.com | Copyright 2009 Tüm Haklar? Sakl?d?r | Free Blogger Templates by GoogleBoy Download Free Wordpress Templates. Unblock through unblock myspace proxy, Hillsongs by Guitar Song Chords