Populate a DataRow in a Dataset within Orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Populate a DataRow in a Dataset within Orchestration

Viewing 0 reply threads
  • Author
    Posts
    • #18729

      Hi,

       

      I am trying to send a DataSet to a webservice, with 1 table and 1 row and 1 column.

       

      I try this, but it does not work, it does not like this section: SetWaitingStatusDT.Rows[0][0] = 3;

       

      SetWaitingStatusDT = new System.Data.DataTable(“SetStatus”);
      SetWaitingStatusDT.Columns.Add(“ExportStatus”);
      SetWaitingStatusDT.Rows.Add(new System.Object[0] );
      SetWaitingStatusDT.Rows[0][0] = 3;

      // 3 means Success
      SetWaitingStatusDS.Tables.Add(SetWaitingStatusDT);

      MsgSetWaitingRecordsStatusRequest.pServiceName = ServiceNameSetStatus;
      MsgSetWaitingRecordsStatusRequest.pServiceParams = new System.Data.DataSet();

       

       

      Also the exprssion editer never likes this way

       SetWaitingStatusDT.Rows.Add(new object[] {3} );

       

      Why ? 

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.