Form1.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 Dongke.IBOSS.PRD.Basics.DataAccess;
  10. using Dongke.IBOSS.PRD.Service.SAPHegiiDataService;
  11. namespace SAPTest
  12. {
  13. public partial class Form1 : Form
  14. {
  15. public Form1()
  16. {
  17. InitializeComponent();
  18. DataManager.ConnectionString = string.Format(DataManager.ConnectionStringFormat,
  19. "172.18.32.32",
  20. "1521",
  21. "hgerp",
  22. "hgiboss",
  23. "dongke"
  24. );
  25. }
  26. private void button1_Click(object sender, EventArgs e)
  27. {
  28. try
  29. {
  30. SAPDataLogic.SetFP60_800(DateTime.Now, 1);
  31. }
  32. catch (Exception ex)
  33. {
  34. }
  35. }
  36. }
  37. }