ASP.NET GridView
-
Dear, I using GridView in ASP.NET it can show size paging, and work normally (data changed when click move page), but when I use code below to change row, it does not work (data not changed) foreach (GridViewRow gvr in rst_Table.Rows) { gvr.Cells[0].Text = "" + i.ToString() + "."; gvr.Cells[5].Text = CommonUtils._gender(ds.Tables[0].Rows[i -1]["Gender"].ToString()); i += 1; } Please help me
Socheat
-
Dear, I using GridView in ASP.NET it can show size paging, and work normally (data changed when click move page), but when I use code below to change row, it does not work (data not changed) foreach (GridViewRow gvr in rst_Table.Rows) { gvr.Cells[0].Text = "" + i.ToString() + "."; gvr.Cells[5].Text = CommonUtils._gender(ds.Tables[0].Rows[i -1]["Gender"].ToString()); i += 1; } Please help me
Socheat
Socheat.Net wrote:
ut when I use code below to change row, it does not work (data not changed)
What's error are you getting ?
cheers, Abhijit
-
Dear, I using GridView in ASP.NET it can show size paging, and work normally (data changed when click move page), but when I use code below to change row, it does not work (data not changed) foreach (GridViewRow gvr in rst_Table.Rows) { gvr.Cells[0].Text = "" + i.ToString() + "."; gvr.Cells[5].Text = CommonUtils._gender(ds.Tables[0].Rows[i -1]["Gender"].ToString()); i += 1; } Please help me
Socheat
-
Socheat.Net wrote:
ut when I use code below to change row, it does not work (data not changed)
What's error are you getting ?
cheers, Abhijit
I did not get error, but data that display still the same in first page
Socheat
-
I did not get error, but data that display still the same in first page
Socheat