B
barrettenda
When a user selects an item from a dropdown list, the page is posted
back and the gridviews are binded to contain the new data because a new
parameter has been specified. But when I manually select a particular
row and cell using the code
for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridViewRow row = GridView1.Rows;
temp = row.Cells[5].Text;
}
the value of temp is the old value before the page was posted back. I
am binding the gridview before I run the code above. I am really under
pressure to have this done for tomorrow. I just can't figure it out.
back and the gridviews are binded to contain the new data because a new
parameter has been specified. But when I manually select a particular
row and cell using the code
for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridViewRow row = GridView1.Rows;
temp = row.Cells[5].Text;
}
the value of temp is the old value before the page was posted back. I
am binding the gridview before I run the code above. I am really under
pressure to have this done for tomorrow. I just can't figure it out.