2
Answers

Dropdown Selected Value minus 1

Soumya Ps

Soumya Ps

6y
839
1
I have a dropdown and its ddlCustomer.selectedvalue=1 will be displayed..
I need a variable having this dropdownselectedvalue minus 1
ie. if my dropdownvalue is 2 then i want to display 1 in a variable
 
ddlCustomer.selectedvalue - 1 is not suitable for this..Please help me..I am getting Confused about this 
Answers (2)