public struct MyStruct
{
public DataSet d;
public int c;
}
[AjaxMethod]
public static MyStruct MyMethod()
{
MyStruct x = new MyStruct();
x.d = ...
x.c = ...
return x;
}
On 6/14/06, amit ware <[EMAIL PROTECTED]> wrote:
>
> Thanks Michael for Immediate Response
> could u give any code snippet which will give me idea about the
> implementation.
>
>
> On 6/14/06, Michael Schwarz <[EMAIL PROTECTED]> wrote:
> >
>
> Hi,
>
> create a struct or class that will hold this information and return a
> new instance of this object. Or return an array of objects[].
>
> Regards,
> Michael
>
>
> On 6/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> > I am new to Ajax. Using the examples and reading through all yours
> > email, now i am able to display Datagrid records using ajax.
> > Now i wanted to have Server method to return 2 parameters
> > 1) Dataset (which i am currently doing)
> > 2) No of records Count (this additional information i want, not the
> > dataset record count, some other record count)
> >
> > I can achieve this using 2 server calls but i want both the parameters
> > in 1 Ajax Server call.
> >
> >
> > >
> >
>
>
> --
> Best regards | Schöne Grüße
> Michael
>
> Microsoft MVP - Most Valuable Professional
> Microsoft MCAD - Certified Application Developer
>
> http://weblogs.asp.net/mschwarz/
> http://www.schwarz-interactive.de/
> mailto:[EMAIL PROTECTED]
>
>
>
>
>
>
>
> --
> Thanks and best regards,
> Amit Ware, MCAD
>
> Programmer Analyst - Technology Group
> S Y S T I M E
>
> Tel : + 91-22-2778-3100 Extn: 5254
> Fax : +91 -22-2778-2291
>
> Email: [EMAIL PROTECTED]
> Web: www.SYSTIME.net
>
> Business Agility.On Demand.
>
> This message (including any attachments) contains confidential information
> intended for a specific individual and purpose, and is protected by law. If
> you are not the intended recipient, you should delete this message and are
> hereby notified that any disclosure, copying, or distribution of this
> message, or the taking of any action based on it, is strictly prohibited
>
> >
>
>
>
>
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---