I have an integer stored in my database that I need to convert string.
This is my attempt at the Eval:
<%# ChangeSalaryType(Eval(\"SalaryType\"))
Try to convert to int on your Eval part;
int
Convert.ToInt32(Eval("SalaryType"))
Eval probably return object as a return type.
Eval
object