Last post Jun 06, 2011 07:23 PM by webyvonne
Jun 06, 2011 01:55 PM|webyvonne|LINK
I have linked up a GV to show another GV, then a DV. Thing is, if the SECOND DV is empty, I want it to show the DV regardless.
Thing is, I don't know how to get the GridViewTwo.Rows.Count AFTER GridViewOne_SelectedIndexChanged. It always retains the previous value.
How can I get the new row count of the second gridview from the changed state of the first one?
Thanks in advance! Evie
Jun 06, 2011 05:51 PM|nobdy|LINK
in SelectedIndexChanged of first Grid, Call GridViewTwo.DataBind() Then get RowCount.
I hope that helps.
Jun 06, 2011 07:23 PM|webyvonne|LINK
Thanks! That did it