javascript - Asp.net Grid View Check boxes to Text box -
javascript - Asp.net Grid View Check boxes to Text box -
i got minor problem. displaying info database table in .aspx page in form of grid view.
the first column check boxes each individual row , header check box implement check , uncheck functionality did using javascriptc. purpose general purpose...i.e. each check box represents row nowadays in.
the problem check check boxes- either or or none....the sum of values in selected rows should displayed dynamically in text box in same page below.
please tell me how implement functionality. basic hint or syntax sufficient. details myself.
please tell me functionality simple grid view 2 columns- 1 check box , other beingness values. want display sum of selected values text box in same page below. problem in simple words.
thanks in advance help.
concept calculate method
create first method iterate on items in grid view, , verify if column checked, if column checked add together value result variable. @ end of iteration update value of textbox/label or whatever display calculated value
eventthen have utilize oncheckchange of checkboxes or on click phone call "calculate method"
codeto loop in grid: looping through gridview rows , checking checkbox control
javascript c# asp.net gridview checkbox
Comments
Post a Comment