Sorry not date, data. I'm trying to pass the array to the server.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Michael Schwarz
Sent: Sunday, July 09, 2006 6:20 PM
To: [email protected]
Subject: [ajaxpro] Re: passing clent date to server


Hi,

I cannot see any "date", and you have to use a string array for your
method. Maybe you asked for something different, can you be a little
bit clearer? Thanks!

Regards,
Michael

On 7/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I need help passing an array from a JavaScript functions to the sever.
> I am using the 1.4 frame work.
>
> Here is the example that I'm trying to use.
>
> function UpdateData()
> {
>
>        ArrayData.Rows[0].name = "name";
>        ArrayData.Rows[0].name2 = "Names2";
>        ArrayData.Rows[0].address = "Address";
>        ArrayData.Rows[0].city = "City";
>        ArrayData.Rows[0].zipcode = "Zipcode";
>        ArrayData.Rows[0].telephone = "Telephone";
>        ArrayData.Rows[0].Fax = "Fax";
>        ArrayData.Rows[0].email = "Email";
>       AddEditData.GetDateData (ArrayData,GetMessageOfTheDay_CallBack);
>  }
>
> Server said code
> [Ajax.AjaxMethod]
>               public string GetDateData(string []StrData)
>               {
>                       return BuildUpdateData(StrData);
>               }
>
>
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to