예제 #1
0
    public DataTable GetTable(string tableName)
    {
        var table = new DataTable(tableName);

        GetControls(this);
        if (!_controls.Any())
        {
            return(null);
        }
        CommonFunctions.AddTableColumns(table, _controls);
        CommonFunctions.AddNewRow(table, _controls);
        return(table);
    }