How do I get table rows returned by a web service

Last post 07-06-2009 11:36 AM by johnwsaunders3. 18 replies.

Sort Posts:

  • Re: How do I get table rows returned by a web service

    07-04-2009, 3:17 AM
    • All-Star
      63,000 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 1:34 PM
    • England
    • Posts 12,308
    • TrustedFriends-MVPs

    I find it preferable to write the data access as a separate layer:

        #region " ListAll "
        /// <summary>
        /// Select list of all on ChangeLog table
        /// </summary>
        /// <remarks>
        /// This code was autogenerated on 29Jun2009
        /// </remarks>
        /// <returns>dataset of ChangeLog </returns>
        public static DataSet ListAll()
        {
          return CommonData.GetDataSet("usp_ChangeLogListAll");
        }
        #endregion

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: How do I get table rows returned by a web service

    07-04-2009, 4:28 AM

    Note that nothing but .NET will be able to make sense out of that XML.

    John Saunders
  • Re: How do I get table rows returned by a web service

    07-06-2009, 10:43 AM
    • Member
      53 point Member
    • bofcarbon1
    • Member since 06-07-2009, 4:47 PM
    • Posts 21

    I'm finally getting to read in depth about web services. I undestand the XML friendly arguments passed and returned now. I guess the trade-off is worth it. I am looking forward to using them between my .NET web apps and my Java web apps (coming soon). Turns out my final fix of my AJAX cascading drop down list was selecting a ParentID as a parameter in the child cascading drop down list which was overlooked in the example that AJAX provided. Plus without a good debugger it was a mystery as to where the real problem was in the web service method or in the controls interfacing with them.

  • Re: How do I get table rows returned by a web service

    07-06-2009, 11:36 AM

    Great. Glad to hear it. I hope you enjoy learning about WCF.

    Feef free to start a new thread with any WCF questions you may have.

    John Saunders
Page 2 of 2 (19 items) < Previous 1 2