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);
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---