Dear All,
I want to do SQL database connection in javascript .
For that i'm using the server side javascript.
But my problem is that , i'm not able to do the connection ..
Code :
database.connect("SQLServer","NAMRATA12K","sa","MesuT123","AHD");
if(!database.connected())
document.write ("Error in connecting to database");
else
document.write ("Success in connecting to database");
But i'm getting the error as Doesn't support the object or method ..
Please give me some hint or any other solution for creating database connection in javascript.
Please reply to : namrata.parab@lntinfotech.com
Thank You .
Regards,
namrata.