I tried to change the content in a cell when user click a button. the code
protected void Button1_Click(object sender, EventArgs e)
this.GridView1.SelectedIndex = 12;
this.GridView1.EditIndex = this.GridView1.SelectedIndex;
Label1.Text = this.GridView1.SelectedRow.Cells.Text;
Everything is OK except the content in Cells does not change, and when I
click the button again, it changes this time and the cell becomes
How can I accept the change and keep the cell alterable.
|All times are GMT. The time now is 03:15 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.