I cannot initialize this data:
NewUpload.Currency = Convert.ToInt16(data.Rows[i]["Currency"]);
because i've got an error.
I have this model structure:
public Currency Currency { get; set; }
How will i resolve this error? Thanks for the help.