download Reflector to how NewRow is implemented:http://www.aisto.com/roeder/dotnet/internal DataRow NewRow(int record)
{
if (-1 == record)
{
record = this.NewRecord(-1);
}
this.rowBuilder._record = record;
DataRow row1 = this.NewRowFromBuilder(this.rowBuilder);
this.recordManager[record] = row1;
if (this.dataSet != null)
{
this.DataSet.OnDataRowCreated(row1);
}
return row1;
}
{
if (-1 == record)
{
record = this.NewRecord(-1);
}
this.rowBuilder._record = record;
DataRow row1 = this.NewRowFromBuilder(this.rowBuilder);
this.recordManager[record] = row1;
if (this.dataSet != null)
{
this.DataSet.OnDataRowCreated(row1);
}
return row1;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货