Garima Bansal

Garima Bansal

  • 1.1k
  • 680
  • 39.7k

Fetch value from DB and display in view

Dec 15 2023 11:19 AM

I have two database table in one table district code is stored and district code is form another table, i want to fetch the value from database table and display in View 

if dept = 1 then it will be like '3'
if dept = 2 then it will be like '4'

but in text.

 


Answers (3)