switch (count)
{
case -1:
//
case 0:
if (( this .EmptyDataTemplate != null ) || ( this .EmptyDataText.Length > 0))
{
this .CreateRow(-1, -1, DataControlRowType.EmptyDataRow, DataControlRowState.Normal, dataBinding, null , array, rows, null );
}
else
{
// ...
this .Controls.Clear();
}
this ._storedDataValid = false ;
this ._firstDataRow = null ;
return 0;
}
* This source code was highlighted with Source Code Highlighter .
Source: https://habr.com/ru/post/56125/
All Articles