Hi,
can you write the DataSet to an XML file using ds.WriteXml(...)
including the schema? Please send me the file to my email address...
Regards,
Michael
On 4/4/06, charles <[EMAIL PROTECTED]> wrote:
>
> ClientSide
> ========
> function loadSelectedAppt()
> {
>
>
> var msg = document.getElementById("txtApptID").value;
>
>
>
> FanshaweStudentServices.ServerSidePage.LoadSelectedAppt(msg,LoadSelectedApptCallback);
>
>
> }
>
>
> On the serverside
> =============
>
> [AjaxMethod]
> public DataSet LoadSelectedAppt(int iAppId)
> {
>
> string args1 = "SELECT * FROM qrySelectAppointment
> WHERE ApptID = "
> + iAppId;
> string args2 = "SELECT * FROM Recommendations ORDER BY
> RecommendationID";
> string args3 = "SELECT * FROM qryAdvisors ORDER BY
> AdvisorID";
> string args4 = "SELECT * FROM qryStudents ORDER BY
> StudentID";
> string [] sp = {args1,args2, args3, args4};
> string [] tablename =
> {"Appointments","Recommendations","Advisors","Students"};
>
> DataSet ds = ObjDb.getDataSet(sp,tablename);
>
>
>
> return ds;
>
>
> }//end loadSelectedAppt
>
> There seems to be some changes in the new version which prevents from
> getting a response from the server.
>
>
> >
>
--
Kind regards,
Michael Schwarz
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
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
-~----------~----~----~----~------~----~------~--~---