FlowDocumentScrollViewer
In diesem Steuerelement habe ich Tabelle und Zeilen verwendet, aber ich möchte dynamisch Zeilen in der Laufzeit und auch wenn ich auf Enter-Taste dann speichern Datensätze in der Datenbank und eine neue Zeile hinzufügen in dieser Tabelle.Wie dynamisch neue Zeilen in Table Control in WPF ... hinzufügen?
Q (1) Ist es möglich ...?
wenn ja Dann bitte helfen.
Code hier:
</TableCell>
</TableRow>
<TableRow>
<TableCell>
<Paragraph>F9,F1 P.R.C</Paragraph>
</TableCell>
<TableCell>
<Paragraph>O.A No</Paragraph>
</TableCell>
<TableCell>
<Paragraph>O.A SI</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Heat No</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Pour Date</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Grade</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Product</Paragraph>
</TableCell>
<TableCell>
<Paragraph>W.I.P</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Heat Treat</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Final Clearance</Paragraph>
</TableCell>
<TableCell>
<Paragraph>Fett</Paragraph>
</TableCell>
</TableRow>
<TableRow>
<TableCell>
<Paragraph>
<TextBox Width="100"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="100"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="50"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="100"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="100"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="100"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="100"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="50"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="30"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="30"></TextBox>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBox Width="30"></TextBox>
</Paragraph>
</TableCell>
</TableRow>
</TableRowGroup>
</Table>
</FlowDocument>
</FlowDocumentScrollViewer>
Bitte lesen Sie Bild meines Codes OutPut:
vielen Dank Ihr Code ist sehr hilfreich für mich –
Vergessen Sie nicht, es als eine Antwort dann zu akzeptieren :) –