AdvancedWf.Data/Infrastructure/RepositoryBase.cs
/// <summary>
/// get data table start index based on StartString
/// </summary>
/// <param name="startString">Start page of dataTable</param>
/// <returns>start index</returns>
get data table start index based on StartString
get data table start index based on StartString
public static int GetStart(string startString)
        {
            int start = 0;
            var d = !string.IsNullOrEmpty(startString) && int.TryParse(startString, out start);
            if (start < 0)
            {
                start = 0;
            }
            return start;
        }
public static int GetStart ( string startString ) { int start = 0 ; var d = ! string . IsNullOrEmpty ( startString ) && int . TryParse ( startString , out start ) ; if ( start < 0 ) { start = 0 ; } return start ; }
get data table start index based on StartString
get data table start index based on StartString
None
startString
string
Start page of dataTable
Start page of dataTable