c# - Showing Total Count in using asp.net textbox and checkboxes -
i have 5 check boxes when user click's check box fetch records , shows in textbox1, have textbox user input code , fetch records show in textbox1. problem when user click's checks checkbox brings records 1 more original records , shows no records when user input code , fetch records in textbox first time.
here page load method declared count method.
int contacts = txt_contacts.text.split(',').length-1; codecount.text = contacts.tostring();
Comments
Post a Comment