Hi.
I want to call Server side method from java script . I have a HTML page which calls a Server side Method using javascript. i use <object> tag and set my dll path. When i call server side method it returns error
Request for the permission of type
'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
// ----------------------- DLL Method -------------------- -->
public string GetResult()
{
string conStr = "Password=sa2005;Persist Security
Info=True;User ID=sa;Initial Catalog=NorthWind;Data Source=localhost";
SqlConnection con = new SqlConnection(conSt ...
Go to the complete details ...