1
Answer

How to generate auto id based upon selection from dropdown

Pradeep Kumar

Pradeep Kumar

8y
287
1
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)