==================================MasterTableCollectionEditor.cs
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Reflection;namespace HypHappy.WebInfopath
{
/// <summary>
/// MasterTableCollectionEditor 的摘要说明。
/// </summary>
public class MasterTableCollectionEditor:CollectionEditor
{
private Type[] types;
public MasterTableCollectionEditor(Type type):base(type)
{
types = new Type[]{typeof(MasterTable)};
}
protected override Type [] CreateNewItemTypes()
{
return types;
}
}
}
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Reflection;namespace HypHappy.WebInfopath
{
/// <summary>
/// MasterTableCollectionEditor 的摘要说明。
/// </summary>
public class MasterTableCollectionEditor:CollectionEditor
{
private Type[] types;
public MasterTableCollectionEditor(Type type):base(type)
{
types = new Type[]{typeof(MasterTable)};
}
protected override Type [] CreateNewItemTypes()
{
return types;
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货