Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 516.5k

Static Dropdown List Values

Aug 26 2024 11:10 AM

Hi

  I have defined below dropdown list but i want Values should be saved as 0,1,2

static List<string> lst = new List<string>() { "Monthly", "Quarterly", "HALF YEARLY", "YEARLY" };
public Incentives_Period()
{
}

public static  List<string> InCentivesPeriod
{
    get
    {
        return lst;
    }
}

Thanks


Answers (2)