Config in Spring a DataSource for WeblogicServer





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

9
Date Submitted Sat. Nov. 12th, 2005 2:54 AM
Revision 1
Beginner XStatic
Tags Config | CSharp | Library
Comments 0 comments
Class Library Configuration Support
5
Date Submitted Tue. Sep. 5th, 2006 8:27 PM
Revision 1
Beginner MovingParts
Tags Bind | Control | controls | datasource | same | two
Comments 0 comments
so you executed a query that took .5 second to execute and you want to bind that to a windows control. next you decide that you will need to have two controls bound to the same datasource. not a problem, except when you do this:
control1.datasource = datatable
control2.datasource = datatable

you notice that each control mirrors the other and you cannot pick two seperate and distinct values.

one way to solve this is to create two datatables and execute the query twice. unfortunately this now doubles your query time. bad idea.

here is the elegant solution...
0
Date Submitted Sun. Dec. 10th, 2006 2:26 PM
Revision 1
Beginner assbach
Tags Config | mail.email | maitlo | setup | variables
Comments 0 comments
use a config-variable ( set in smarty "*.conf" file ) as a parameter in mailto functio