collections.format
来自「客户关系管理系统ASP.NET+VB.NET编程完整程序!」· FORMAT 代码 · 共 22 行
FORMAT
22 行
private {0}Collection _{2}s = null;
/// <summary>
/// Refreshes the collection of {2}s from the underlying dataset
/// </summary>
internal void refresh{2}s()
{
if (_{2}s == null) _{2}s = new {0}Collection();
((IList)_{2}s).Clear();
DataRow[] cr = row.GetChildRows("{1}{3}");
foreach( DataRow chld in cr)
{
{0} obj = new {0}(base.DataContext, chld);
_{2}s.Add( obj );
}
// add after, so that events wont be fired
_{2}s.Parent = this;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?