Autor Beitrag
DiamondDog
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 460



BeitragVerfasst: Mi 11.02.09 16:53 
Hallo Leute,
ich hab da folgendes und zwar würde ich gerne eine html Tabelle in Delphi anzeigen lassen. Dieses soll aber nicht in einem Webbrowser angezeigt werden, sondern die html Tabelle soll als Liste angezeigt werden in einem NextGrid oder so. Es wäre super wenn mir da jemand Helfen könnte wie ich auß einer HTML Tabelle, eine Tabell in Delphi mache.

So sieht die html Tabelle aus:
ausblenden volle Höhe Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
<TABLE cellSpacing=0 cellPadding=0 width=220 border=0>
<TBODY>
<TR>
<TD width=65></TD>
<TD width=90></TD>
<TD width=65></TD></TR>
<TR>
<TD align=left>24,30 €</TD>
<TD>Jan</TD>
<TD>Oktober</TD>
</TR>
<TR>
<TD align=left>24,20 €</TD>
<TD>Thomas</TD>
<TD>Dezember</TD>
</TR>
<TR>
<TD align=left>24,10 €</TD>
<TD>Indigo</TD>
<TD>Dezember</TD>
</TR>
<TR>
<TD align=left>24,00 €</TD>
<TD>Sven</TD>
<TD>Januar</TD>
</TR>
<TR>
<TD align=left>23,90 €</TD>
<TD>Nadine</TD>
<TD>Januar</TD>
</TR>
<TR>
<TD align=left>23,80 €</TD>
<TD>Peter</TD>
<TD>Januar</TD>
</TR>
<TR>
<TD align=left>23,70 €</TD>
<TD>Alex</TD>
<TD>Februar</TD>
</TR>
<TR>
<TD align=left>23,60 €</TD>
<TD>Tina</TD>
<TD>Februar</TD>
</TR>
<TR>
<TD align=left>23,50 €</TD>
<TD>Peter</TD>
<TD>Februar</TD>
</TR>
<TR>
<TD align=left>23,40 €</TD>
<TD>Nadine</TD>
<TD>März</TD>
</TR></TBODY></TABLE>
Danke schon mal fürs Helfen.

Mfg Dog
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Mo 23.02.09 16:44 
Ist die HTML-Tabelle immer einzeln, oder muss diese zusätzlich noch aus anderem HTML-Content gefiltert werden?
Bzw. ist die HTML-Tabelle immer so schön Formatiert wir hier?

Dann könnte man in einer FOR-Schleife Zeile für Zeile die Daten in ein Array laden.

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
DiamondDog Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 460



BeitragVerfasst: Mo 23.02.09 20:45 
Die ist immer so schön wie hier Sie wird zwar aus einem Quelltext gefiltert, ist aber immer übersichtlich.
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mo 23.02.09 20:53 
HTML Parser oder wenn du die Attribute noch rausfilterst ginge wohl auch ein XML Parser.