Changeset 138 for trunk/Modules/ZdechovNET/UProjectsPage.pas
- Timestamp:
- Sep 9, 2022, 8:20:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ZdechovNET/UProjectsPage.pas
r135 r138 39 39 with TWebSession(HandlerData) do begin 40 40 ModuleUser.LoadUserInfo; 41 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create))do begin41 with HtmlDocument.Body, SubItems.AddString do begin 42 42 try 43 43 DbRows := TDbRows.Create; … … 47 47 Database.Query(DbRows, 'SELECT * FROM `Plans` ORDER BY `TimeCreate` DESC'); 48 48 for I := 0 to DbRows.Count - 1 do begin 49 Text := Text + '<tr><td>' + DbRows[I]. Values['TimeCreate'] + '</td>' +50 '<td>' + DbRows[I]. Values['TimeFinished'] + '</td>' +51 '<td>' + DbRows[I]. Values['Description'] + '</td>' +52 '<td>' + DbRows[I]. Values['Public'] + '</td></tr>';49 Text := Text + '<tr><td>' + DbRows[I].Items['TimeCreate'] + '</td>' + 50 '<td>' + DbRows[I].Items['TimeFinished'] + '</td>' + 51 '<td>' + DbRows[I].Items['Description'] + '</td>' + 52 '<td>' + DbRows[I].Items['Public'] + '</td></tr>'; 53 53 end; 54 54 Text := Text + '</table>';
Note:
See TracChangeset
for help on using the changeset viewer.