in

InfoPath Dev

Secondary Submit Data Connection to a webservice does not submit !

Last post 07-31-2008 10:12 AM by swetha. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-31-2008 10:12 AM

    • swetha
    • Not Ranked
    • Joined on 06-25-2008
    • Posts 7

    Secondary Submit Data Connection to a webservice does not submit !

     Hi,

    I am trying to submit to a SQL server database using a secondary data connection via a web service .

    When I hit submit I do get the "Form submitted successfully" dialogue but the data does not commit to the database.

    Can anyone please tell me how to fix this..

    The webmethod for the Submit looks like this , where "Services " is my database table.

    [WebMethod]
        public void SetDataSet(DataSet1 Data)
        {
            if (Data.HasChanges())
            {
                sqlDataAdapter1.Update(Data.Services);

            }
        }

    Thanks,

    Swetha

Page 1 of 1 (1 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.