Pradeep Kumar

Pradeep Kumar

  • NA
  • 57
  • 1.8k

How to generate auto id based upon selection from dropdown

Jan 21 2016 6:16 AM
Hi,
 
I want to know how to generate auto id based upon selection from dropdown list having list items of CityName.
 
When select city from the dropdown list then there respective auto id will be generated.
 
suppose I have given city id for Mumbai  is 01, then the generated code will be combination of citycode, current date and some number(0001).
 
Ex: 012101160001 
 
How this is possible with linq.
 
thank you.. 
 
 

Answers (1)