Link to home
Start Free TrialLog in
Avatar of Edward Diaz
Edward DiazFlag for United States of America

asked on

Syntax for field outside code-behind

I have an interesting question. I have a SQL JOIN with 3 databases with the same field in common, ID.  In the SQL statement, they are referenced as a.ID, b.ID and  c.ID.

 If I call the generic field ID I get an error when I reference it like:  
<%# DataBinder.Eval(Container.DataItem, "ID") %>

Is there a way that I can reference this field??
ASKER CERTIFIED SOLUTION
Avatar of raterus
raterus
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial