Template Errors: PAGE_CONTAINER

  1. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 492:
    491: $headerTabHeight_outer = '';
    492: $headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('headerTabHeight') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-top-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-top') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-bottom'));
    493: $__compilerVar509 .= '
    
  2. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 492:
    491: $headerTabHeight_outer = '';
    492: $headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('headerTabHeight') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-top-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-top') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-bottom'));
    493: $__compilerVar509 .= '
    
  3. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 492:
    491: $headerTabHeight_outer = '';
    492: $headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('headerTabHeight') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-top-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-top') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-bottom'));
    493: $__compilerVar509 .= '
    
  4. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 492:
    491: $headerTabHeight_outer = '';
    492: $headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('headerTabHeight') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-top-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-top') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-bottom'));
    493: $__compilerVar509 .= '
    
  5. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 496:
    495: $uix_fixedNavigationHeight_outer = '';
    496: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom'));
    497: $__compilerVar509 .= '
    
  6. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 496:
    495: $uix_fixedNavigationHeight_outer = '';
    496: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom'));
    497: $__compilerVar509 .= '
    
  7. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 496:
    495: $uix_fixedNavigationHeight_outer = '';
    496: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom'));
    497: $__compilerVar509 .= '
    
  8. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 496:
    495: $uix_fixedNavigationHeight_outer = '';
    496: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom'));
    497: $__compilerVar509 .= '
    
  9. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 501:
    500: $uix_tabLinksHeight_outer = '';
    501: $uix_tabLinksHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeight') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-top-width'));
    502: $__compilerVar509 .= '
    
  10. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 501:
    500: $uix_tabLinksHeight_outer = '';
    501: $uix_tabLinksHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeight') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-top-width'));
    502: $__compilerVar509 .= '
    
  11. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 505:
    504: $uix_tabLinksHeightSticky_outer = '';
    505: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width'));
    506: $__compilerVar509 .= '
    
  12. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 505:
    504: $uix_tabLinksHeightSticky_outer = '';
    505: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width'));
    506: $__compilerVar509 .= '
    
  13. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 505:
    504: $uix_tabLinksHeightSticky_outer = '';
    505: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width'));
    506: $__compilerVar509 .= '
    
  14. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 510:
    509: $userBar_headerTabHeight_outer = '';
    510: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom'));
    511: $__compilerVar509 .= '
    
  15. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 510:
    509: $userBar_headerTabHeight_outer = '';
    510: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom'));
    511: $__compilerVar509 .= '
    
  16. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 510:
    509: $userBar_headerTabHeight_outer = '';
    510: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom'));
    511: $__compilerVar509 .= '
    
  17. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 510:
    509: $userBar_headerTabHeight_outer = '';
    510: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom'));
    511: $__compilerVar509 .= '
    
  18. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 514:
    513: $userBar_uix_fixedNavigationHeight_outer = '';
    514: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom'));
    515: $__compilerVar509 .= '
    
  19. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 514:
    513: $userBar_uix_fixedNavigationHeight_outer = '';
    514: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom'));
    515: $__compilerVar509 .= '
    
  20. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 514:
    513: $userBar_uix_fixedNavigationHeight_outer = '';
    514: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom'));
    515: $__compilerVar509 .= '
    
  21. A non-numeric value encountered in /home/admin/web/codeby.net/public_html/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 514:
    513: $userBar_uix_fixedNavigationHeight_outer = '';
    514: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom'));
    515: $__compilerVar509 .= '
    

Сортировка Dataset

Тема в разделе ".NET", создана пользователем Balda, 4 дек 2008.

  1. Balda

    Balda Гость

    Репутация:
    0
    Пишу в MS VS .NET 2003.
    Нужно отсортировать данные в dataSet по значению первого столбца.
    Пробую реализовать это так:
    Код:
    private void Sort(System.Data.DataSet ds)		
    {			
    System.Data.DataRow dr;
    
    for(int i=0; i<ds.Tables[0].Rows.Count;i++) 
    for(int j=i; j<ds.Tables[0].Rows.Count-1;j++)
    if((System.DateTime)ds.Tables[0].Rows[j][0]>(System.DateTime)ds.Tables[0].Rows[j+1][0])
    { 				
    dr = ds.Tables[0].Rows[j];
    
    for(int k=0;k<ds.Tables[0].Columns.Count;k++)
    {
    ds.Tables[0].Columns[k].ReadOnly = false;
    ds.Tables[0].Rows[j][k] = ds.Tables[0].Rows[j+1][k];
    dr.RejectChanges();
    ds.Tables[0].Rows[j+1][k] = dr[k];
    }
    }
    
    }
    Чтобы поменять строки dataSet местами надо куда-то сохранять одну из них. Я сохраняю в dataRow
    Код:
    dr = ds.Tables[0].Rows[j];
    Но тогда возникает проблема: при изменении dataSet изменяеться также и dataRow, а при отмене изменений в dataRow
    Код:
    dr.RejectChanges();
    отменяються и изменения в dataSet. В результате данные не сортируються.
    Как быть?
     
  2. etc

    etc Гость

    Репутация:
    0
    Начать с основ и понять что так не делают.
    А вот "как делают", зависит от конкретики. Можно и через DataTable.Select, а можно и DataView.
    Для чего вам клиентская сортировка?
     
  3. Balda

    Balda Гость

    Репутация:
    0
    В данной таблице отображаються данные личных дел сотрудников.
    Эти данные вытягиваються запросами из разных таблиц БД.
    Но в документе они должны быть отсортированы по дате.
     
  4. etc

    etc Гость

    Репутация:
    0
    В какой таблице? В DataTable? В DataTable никогда и ничего не отображаеться это только лишь контейнер для хранения информации.
    Почему не сортировать тоже в запросе? Всяко это быстрее.
    Я спрашивал для чего именно клиентская.
     
  5. Young Programmer

    Young Programmer Гость

    Репутация:
    0
    наверное, проще в запросе сразу сделать сортировку и не мучаться. Или с помощью cвойства Sort класса DataView.
     
Загрузка...

Поделиться этой страницей