1
DataSet ds = new DataSet();
2
ds.ReadXml( "c:\\budgetTable.xml" );
3
4![]()
2
3
4
1
<?xml version="1.0" standalone="yes"?>
2
<NewDataSet>
3
<budgetTable>
4
<bdgKeyCode>INDAZI</bdgKeyCode>
5
<bdgLabel>TOT. IMPORTO BASE</bdgLabel>
6
<bdgUnit>euro</bdgUnit>
7
<bdgAmount>252,00</bdgAmount>
8
<bdgAmountfloat>252</bdgAmountfloat>
9
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
10
<bdgflagRawType>D</bdgflagRawType>
11
</budgetTable>
12
<budgetTable>
13
<bdgKeyCode>INDAZI</bdgKeyCode>
14
<bdgLabel>+ ratei 13a,14a,ferie TFR</bdgLabel>
15
<bdgUnit>euro</bdgUnit>
16
<bdgAmount>85,68</bdgAmount>
17
<bdgAmountfloat>85.68</bdgAmountfloat>
18
<bdgPercentage>34%</bdgPercentage>
19
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
20
<bdgflagRawType>D</bdgflagRawType>
21
</budgetTable>
22
<budgetTable>
23
<bdgKeyCode>INDAZI</bdgKeyCode>
24
<bdgLabel>+ oneri previdanziali</bdgLabel>
25
<bdgUnit>euro</bdgUnit>
26
<bdgAmount>111,43</bdgAmount>
27
<bdgAmountfloat>111.43</bdgAmountfloat>
28
<bdgPercentage>33%</bdgPercentage>
29
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
30
<bdgflagRawType>D</bdgflagRawType>
31
</budgetTable>
32
<budgetTable>
33
<bdgKeyCode>INDAZI</bdgKeyCode>
34
<bdgLabel>+ IRAP</bdgLabel>
35
<bdgUnit>euro</bdgUnit>
36
<bdgAmount>17,52</bdgAmount>
37
<bdgAmountfloat>17.52</bdgAmountfloat>
38
<bdgPercentage>3,9%</bdgPercentage>
39
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
40
<bdgflagRawType>D</bdgflagRawType>
41
</budgetTable>
42
<budgetTable>
43
<bdgKeyCode>INDAZI</bdgKeyCode>
44
<bdgLabel>+ IRES su IRAP</bdgLabel>
45
<bdgUnit>euro</bdgUnit>
46
<bdgAmount>4,82</bdgAmount>
47
<bdgAmountfloat>4.82</bdgAmountfloat>
48
<bdgPercentage>27,5%</bdgPercentage>
49
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
50
<bdgflagRawType>D</bdgflagRawType>
51
</budgetTable>
52
<budgetTable>
53
<bdgKeyCode>INDAZI</bdgKeyCode>
54
<bdgLabel>SPENDO</bdgLabel>
55
<bdgUnit>euro</bdgUnit>
56
<bdgAmount>471,45</bdgAmount>
57
<bdgAmountfloat>471.45</bdgAmountfloat>
58
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
59
<bdgflagRawType>T</bdgflagRawType>
60
</budgetTable>
61
<budgetTable>
62
<bdgKeyCode>INDDIP</bdgKeyCode>
63
<bdgLabel>IMPORTO BASE</bdgLabel>
64
<bdgUnit>euro</bdgUnit>
65
<bdgAmount>12,00</bdgAmount>
66
<bdgAmountfloat>12</bdgAmountfloat>
67
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
68
<bdgflagRawType>D</bdgflagRawType>
69
</budgetTable>
70
<budgetTable>
71
<bdgKeyCode>INDDIP</bdgKeyCode>
72
<bdgLabel>- oneri previdenziali</bdgLabel>
73
<bdgUnit>euro</bdgUnit>
74
<bdgAmount>-1,10</bdgAmount>
75
<bdgAmountfloat>-1.1</bdgAmountfloat>
76
<bdgPercentage>9,19%</bdgPercentage>
77
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
78
<bdgflagRawType>D</bdgflagRawType>
79
</budgetTable>
80
<budgetTable>
81
<bdgKeyCode>INDDIP</bdgKeyCode>
82
<bdgLabel>- IRPEF</bdgLabel>
83
<bdgUnit>euro</bdgUnit>
84
<bdgAmount>-3,54</bdgAmount>
85
<bdgAmountfloat>-3.54</bdgAmountfloat>
86
<bdgPercentage>27%</bdgPercentage>
87
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
88
<bdgflagRawType>D</bdgflagRawType>
89
</budgetTable>
90
<budgetTable>
91
<bdgKeyCode>INDDIP</bdgKeyCode>
92
<bdgLabel>PER EROGARE</bdgLabel>
93
<bdgUnit>euro</bdgUnit>
94
<bdgAmount>7,36</bdgAmount>
95
<bdgAmountfloat>7.36</bdgAmountfloat>
96
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
97
<bdgflagRawType>T</bdgflagRawType>
98
</budgetTable>
99
<budgetTable>
100
<bdgKeyCode>TRAZI</bdgKeyCode>
101
<bdgLabel>TOT. VAL. TICKET</bdgLabel>
102
<bdgUnit>euro</bdgUnit>
103
<bdgAmount>252,00</bdgAmount>
104
<bdgAmountfloat>252</bdgAmountfloat>
105
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
106
<bdgflagRawType>D</bdgflagRawType>
107
</budgetTable>
108
<budgetTable>
109
<bdgKeyCode>TRAZI</bdgKeyCode>
110
<bdgLabel>+ IVA 4%</bdgLabel>
111
<bdgUnit>euro</bdgUnit>
112
<bdgAmount>10,08</bdgAmount>
113
<bdgAmountfloat>10.08</bdgAmountfloat>
114
<bdgPercentage>4%</bdgPercentage>
115
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
116
<bdgflagRawType>D</bdgflagRawType>
117
</budgetTable>
118
<budgetTable>
119
<bdgKeyCode>TRAZI</bdgKeyCode>
120
<bdgLabel>+ oneri previdenziali</bdgLabel>
121
<bdgUnit>euro</bdgUnit>
122
<bdgAmount>46,50</bdgAmount>
123
<bdgAmountfloat>46.5</bdgAmountfloat>
124
<bdgPercentage>33%</bdgPercentage>
125
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
126
<bdgflagRawType>D</bdgflagRawType>
127
</budgetTable>
128
<budgetTable>
129
<bdgKeyCode>TRAZI</bdgKeyCode>
130
<bdgLabel>+ IRAP</bdgLabel>
131
<bdgUnit>euro</bdgUnit>
132
<bdgAmount>12,03</bdgAmount>
133
<bdgAmountfloat>12.03</bdgAmountfloat>
134
<bdgPercentage>3,9%</bdgPercentage>
135
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
136
<bdgflagRawType>D</bdgflagRawType>
137
</budgetTable>
138
<budgetTable>
139
<bdgKeyCode>TRAZI</bdgKeyCode>
140
<bdgLabel>+ IRES su IRAP</bdgLabel>
141
<bdgUnit>euro</bdgUnit>
142
<bdgAmount>3,31</bdgAmount>
143
<bdgAmountfloat>3.31</bdgAmountfloat>
144
<bdgPercentage>27,5%</bdgPercentage>
145
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
146
<bdgflagRawType>D</bdgflagRawType>
147
</budgetTable>
148
<budgetTable>
149
<bdgKeyCode>TRAZI</bdgKeyCode>
150
<bdgLabel>SPENDO</bdgLabel>
151
<bdgUnit>euro</bdgUnit>
152
<bdgAmount>323,92</bdgAmount>
153
<bdgAmountfloat>323.92</bdgAmountfloat>
154
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
155
<bdgflagRawType>T</bdgflagRawType>
156
</budgetTable>
157
<budgetTable>
158
<bdgKeyCode>TRDIP</bdgKeyCode>
159
<bdgLabel>VALORE TICKET</bdgLabel>
160
<bdgUnit>euro</bdgUnit>
161
<bdgAmount>12,00</bdgAmount>
162
<bdgAmountfloat>12</bdgAmountfloat>
163
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
164
<bdgflagRawType>D</bdgflagRawType>
165
</budgetTable>
166
<budgetTable>
167
<bdgKeyCode>TRDIP</bdgKeyCode>
168
<bdgLabel>- oneri previdenziali</bdgLabel>
169
<bdgUnit>euro</bdgUnit>
170
<bdgAmount>0,62</bdgAmount>
171
<bdgAmountfloat>0.62</bdgAmountfloat>
172
<bdgPercentage>9,19%</bdgPercentage>
173
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
174
<bdgflagRawType>D</bdgflagRawType>
175
</budgetTable>
176
<budgetTable>
177
<bdgKeyCode>TRDIP</bdgKeyCode>
178
<bdgLabel>- IRPEF</bdgLabel>
179
<bdgUnit>euro</bdgUnit>
180
<bdgAmount>1,98</bdgAmount>
181
<bdgAmountfloat>1.98</bdgAmountfloat>
182
<bdgPercentage>27%</bdgPercentage>
183
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
184
<bdgflagRawType>D</bdgflagRawType>
185
</budgetTable>
186
<budgetTable>
187
<bdgKeyCode>TRDIP</bdgKeyCode>
188
<bdgLabel>PER EROGARE</bdgLabel>
189
<bdgUnit>euro</bdgUnit>
190
<bdgAmount>9,40</bdgAmount>
191
<bdgAmountfloat>9.4</bdgAmountfloat>
192
<bdgflagToBeDisplayed>true</bdgflagToBeDisplayed>
193
<bdgflagRawType>T</bdgflagRawType>
194
</budgetTable>
195
</NewDataSet>
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195