hi
I am trying to do like this:

%sever-side:
public class GetSelectOptions
{
        public GetSelectOptions()
        {...}

    private string m_Sql = "";

    public string Sql
    {
        get { return m_Sql;  }
        set { m_Sql = value; }
    }

    [AjaxPro.AjaxMethod()]
    private DataTable GetData()
    {...}
}

%client-side:
 alert(GetSelectOptions.Sql);

but I failed!
I want to know can I do like that?
if possible,how?
if imp, is there some other way to actualize that kind of instance?
thx.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to