I have a
gridview, inside which one column comprises of a dropdownlistbox: HeaderText="Choose Employer" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="15%"> runat="server" ID="cboEmployer" CssClass="textEntry" AutoPostBack="true" OnSelectedIndexChanged="cboEmployer_SelectedIndexChanged" onclick="javascript:shouldsubmit=false;" Width="80%"> Lets say the dropdown has some values like 'A','B' and 'C'.
My requirement is: on click of a button (outside the grid), I need to get the total number of rows for whichEmployer A is selected. How do I do this?
Replies
Know the answer? Post it — somebody with the same question will find it here.