Skip to main content
Hi all,

 

I have a common global class which i used in my save button.

 

common class has a function i call repeatly from my controller class to get a String (Which has a query)

 

How can i call that function once and use later without querying.??

 

I use that string in global common class. 

 

for{

 

*My controller class call to method1

 

Method 1 calls to that function to get the String

 

}

 

How can i do this.

 

please help me,

 

Thanks a lot
2 件の回答
  1. 2014年5月19日 7:34
    Thathula -

     

    Avoid the query inside the loop.I am afraid you may have to restruction the parameters being passed to method1 (if any) and how method1 calls your global method.

     

    Please post the code for mare sugggestions.

     

    Cheers,

     

    Amit
0/9000