Get KoolPHP UI with 30% OFF!

MSSQL datasource for koolgrid

Daniel
Please help, trying to use koolgrid with SQL server and I'm having a hard time finding any documentation for connecting to a SQL server. I tried SQLSRVDatasource and SQLDatasource and neither work. I know I can connect because the connection for the pivot table to sql works...$ds = new SQLSRVPivotDataSource($dbcon);. What is the correct way to designate a datasource for SQL server in koolgrid? (btw, I really wish your forums had a search engine.)
Thanks.
Found it...sorry
require "KoolControls/KoolGrid/ext/datasources/SQLSRVDataSource.php";
Posted Sep 7, 2017 , edited Sep 7, 2017 Kool -
David
Hi Daniel,
If you had a sqlsrv connection to your MS SQL Server, please include the file KoolGrid/ext/datasources/SQLSRVDataSource.php and use the connection to create the datasource:
$ds = new $SQLSRVDataSource($sqlsrvConn);

Please let us know if you need further information. Thanks!
Posted Sep 7, 2017 Kool -
Hashim
The old dishwasher in my kitchen was making a terrible rattling noise during its heavy cycle and it was super annoying. I went into the living room and went to spinogambino to drown out the sound with some casino fun. Within seconds the symbols matched perfectly for an insane jackpot win. Unloading those clean plates was an absolute joy after scoring such an amazing reward
Posted Apr 1 Kool