ccbe7cb2672c703311e0a50f11447b9ce3b1d972.svn-base 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using CoreFS.CA06;
  10. using Common;
  11. namespace Core.LZMes.Client.UIF
  12. {
  13. public partial class UIF041011 : CoreFS.CA06.FrmBase
  14. {
  15. public UIF041011()
  16. {
  17. InitializeComponent();
  18. }
  19. private string _Condition;
  20. public string Condition
  21. {
  22. set
  23. {
  24. _Condition = value;
  25. CoreClientParam ccp = new CoreClientParam();
  26. ccp.ServerName = "UIF.UIF04.UIF041011";
  27. ccp.MethodName = "Query_HCoil_List";
  28. ccp.ServerParams = new object[] { _Condition };
  29. CoreClientParam obj = this.ExecuteQuery(ccp, CoreInvokeType.Internal);
  30. if (obj.ReturnInfo.Length == 0)
  31. {
  32. this.dataSet1.Tables["C_TBK02_COIL_COMM"].Clear();
  33. System.Data.DataTable tab0 = FixDBManager.ConvertToDataTable(obj.ReturnObject as System.Collections.ArrayList, this.dataSet1.Tables["C_TBK02_COIL_COMM"]);
  34. tab0.TableName = "C_TBK02_COIL_COMM";
  35. this.dataSet1.Tables["C_TBK02_COIL_COMM"].Merge(tab0);
  36. this.dataSet1.AcceptChanges();
  37. }
  38. }
  39. }
  40. }
  41. }