logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
alhadrusi  
#1 Posted : Tuesday, January 23, 2018 9:19:35 AM(UTC)
alhadrusi

Rank: Newbie

Groups: Registered
Joined: 1/23/2018(UTC)
Posts: 0
Jordan
Location: jordan

hello there ,

How I can pass data between two models , reason for that I want a model for totals and model for details so i can calculate the average as example ?

epf  
#2 Posted : Tuesday, January 23, 2018 9:45:59 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 417
Switzerland

Thanks: 7 times
Was thanked: 59 time(s) in 58 post(s)
Well, if you have 2 models you can let the SQL do it for you: one SQL for the Details and one SQL for the Totals.

Otherwise you have to dive in C# coding to modify your result tables (Pre Load, Post Load, Final Scripts or your model),
or change you main view template to perform special operations...
Check the samples.
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 2.0.0 | YAF © 2003-2018, Yet Another Forum.NET
This page was generated in 0.047 seconds.