I have created a grid view of Leavemaster table and leaveApplication table. There is field LeaveId in LeaveMaster and foreign key in LeaveApplication table.
I want to, when I select leaveId in LeaveAppliation table, automatically have related fields like LeaveName be filled according to LeaveId.