Created
September 26, 2015 10:27
-
-
Save kaskavalci/1b79b826026c10ee123b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void addNewRow(DataView dataView) | |
{ | |
DataRowView newRow = dataView.AddNew(); | |
newRow["Column Name"] = "Column Value"; | |
newRow.EndEdit(); | |
comboBoxViews.ItemsSource = dataView.Cast<DataRowView>().Select(o => o["Column Name"]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment