In C#, I have used Enum to get the drop down values:
class Enum
{
public enum Fields
{
AssignedTo = "Assigned To",
CloseReason = "Close Reason",
CustomerId = "Customer ID",
CustomerName = "Customer Name",
CompanyID = "Company ID",
CompanyName = "Company Name",
}
}
When I build the solution. I am getting the error: cannot implicitly convert type 'string' to 'int'.
I have removed the double quotes but still it shows the same error. What do I do wrong?