
C#
Megerz
这个作者很懒,什么都没留下…
展开
-
C# 弹出窗体位置设定
**C# 弹出窗体位置设定**一、C#中弹出窗口位置加入命名空间using System.Drawing和using System.Windows.Forms假定窗口名为form1,则form1.StartPosition = FormStartPosition.CenterScreen;窗体位置在屏幕中间form1.StartPosition = FormStartPosition.CenterParent;窗体在其父窗口中间form1.StartPosition = FormStar原创 2021-02-25 09:23:57 · 2742 阅读 · 0 评论 -
C#调用SAP接口保存数据到SAP
DataTable dt ; RfcDestination dest = SapManager.getRfcDestination(); RfcRepository rfcrep = dest.Repository; IRfcFunction myfun = null; myfun = rfcrep.CreateFunction("HJJDB_T...原创 2020-08-06 18:36:21 · 626 阅读 · 0 评论 -
C#DataTable添加复选框列
dt.Columns.Add(" 111", System.Type.GetType("System.Boolean"));//添加复选框列名字为111, dt.Columns[" "].SetOrdinal(0);//此列放置的顺序原创 2020-08-06 18:20:31 · 1457 阅读 · 2 评论 -
C#调用sap接口获取数据到DataTable
RfcDestination dest = SapManager.getRfcDestination(); RfcRepository rfcrep = dest.Repository; IRfcFunction myfun = null; myfun = rfcrep.CreateFunction("ZMJDB_RFC01"); myfun.SetValue("ZTZRQ1...原创 2020-08-04 18:08:08 · 652 阅读 · 0 评论