Doda Ayman

Doda Ayman

  • NA
  • 20
  • 402

View data from another table in listview on ASP.NET web application

Jun 25 2020 10:43 AM

I need to show the Damagename (which is in another table) instead of the Damage ID on my listview, I did it correctly in (edit and Inset) but I need it also in the display..

I have 2 tables :

DamagesTypes:

DamTypeID
DamName
DamDescription  

Damages

TicketNumber
SchoolID
DamTypeID (foreign key)
DateOfDam
MachineID
Action

Here is my aspx markup attached

Please help me. I had 3 days searching for solution ... thanks in advance


Attachment: Damages.rar

Answers (2)