06 2012 档案
摘要:As title. 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 Domino;10 11 namespace NetUseNotes12 {13 public partial class Form1 : Form14 ...
阅读全文
摘要:后台在RowCommand里面增加如下代码: 1 protected void gv_RowCommand(object sender, GridViewCommandEventArgs e) 2 { 3 if (e.CommandName == "ED") 4 { 5 this.txtValueUserID.Text = e.CommandArgument.ToString(); 6 Control c = (Control)e.CommandSource; 7 GridView...
阅读全文
摘要:首先运行“SE37”在Exceptions页面增加异常信息,Exception为异常信息的代码,Short Text则为异常信息的详细文本,如图:C#里面如果需要抛出用户自定义的异常,那么使用RfcAbapException即可,这个Exception是专门用来获取用户自定义的异常的。 1 public void GetAllInfo(RfcDestination prd) 2 { 3 RfcRepository repo = prd.Repository; 4 IRfcFunction irfc = repo.CreateF...
阅读全文