dataGridView aktuelle Zeile ausgeben...
-
Knuddlbaer schrieb:
Eventuell schreibt noch jemand was dazu, wenn es um ein reines ungebundenes DataView geht.
(DataGridView)
Ja es geht nur um ein ungebundenes DataGridView
-
sehr schön hilft mir sehr
jetzt eine frage: wenn mann verschiedene Zeile zum Beispiel mit einem Checkboxcolumn sortiet oder markiert hat ,wie kann mann sie alle auf einmal
in eines anders dataGridView übernehmen?
-
ich habe ein Beispiel gefunden aber es handelt sich hier um DB und ist in C# :
http://msdn2.microsoft.com/de-de/y8c0cxey(vs.80).aspx
-
nix
-
Naja, wo is mit dem c# Beispiel das Problem ?
-
dass ich kein C# kann
-
Ok, so viel Syntaxunterschiede gibt es in den Beispielen nicht, ich würd sagen: Versuch es doch einfach mal.
Beispiel:
private void Form1_Load(object sender, System.EventArgs e) { // Bind the DataGridView controls to the BindingSource // components and load the data from the database. masterDataGridView.DataSource = masterBindingSource; detailsDataGridView.DataSource = detailsBindingSource; GetData(); // Resize the master DataGridView columns to fit the newly loaded data. masterDataGridView.AutoResizeColumns(); // Configure the details DataGridView so that its columns automatically // adjust their widths when the data changes. detailsDataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells; }
private void Form1_Load(System::Object ^ sender, System::EventArgs ^ e) { // Bind the DataGridView controls to the BindingSource // components and load the data from the database. masterDataGridView->DataSource = masterBindingSource; detailsDataGridView->DataSource = detailsBindingSource; GetData(); // Resize the master DataGridView columns to fit the newly loaded data. masterDataGridView->AutoResizeColumns(); // Configure the details DataGridView so that its columns automatically // adjust their widths when the data changes. detailsDataGridView->AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode::AllCells; }
-
Vielen Dank!!!
ich versuch's mal
-
es funktiuniert nicht bei mir weil ich die Daten direkt von dem USB Buffer nehme und in der DGV1 liste
-
keine neue idée???