I have a very simple question to ask:
I have a C# webpage which has a treeview on the left hand side and nine text boxes on the right hand side.
Tree view is populated from thousands of rows of a sql table that has 9 columns.
The aim: On click of a tree view item, update the nine text boxes and show each of the column's value.
What is the best way to do it? Should I fetch all of the data on page load in a temporary data table and query the C# data table on click of a tree view? Or should I send a select statement to the sql table on click of the tree view item? Or is there a better way?
This solution will be used by over 15 users and performance is a key factor.
Thanks,
FM