XModPro

get details from a different database row in the DetailsTemplate.

 Westbrook Westbrook posted Mar 17, 2016
Active Mar 17 · Viewed 1484 times

I am building a Locations function for a bank. In the ItemTemplate I have listed all the branch locations, and the DetailTemplate displays specific information about the selected location.

However, in the DetailsTemplate I also need to list information for the location closest to the current one.

I have added a column to the database that stores the closest location's ID.

How can I use this field (e.g. nearestLocationID = 1) to get data from that specific row in the database? At the moment I can only retrieve information from the current row in the Details template?

0 Replies

Loading replies...