Soumya Ps

Soumya Ps

  • NA
  • 148
  • 16.4k

Dropdown Selected Value minus 1

Jul 19 2018 4:56 AM
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)