Any ideas with this?
HTML page
code behind
The B U M and S are objects from a database. At any point, only 3 of the 4 objects will have content. Could this "No overload for method 'Eval' takes '4' arguments" error be casued due to a value returning empty or null from the database?
Dave
HTML page
Code:
<%#loc(Eval("B", "U", "M", "S"))%>
Code:
public String loc(object o1, object o2, object o3, object o4)
{
string s = Convert.ToString(o1) + Convert.ToString(o2) + Convert.ToString(o3) + Convert.ToString(o4);
return s;
}
Dave
Comment