Click here to Skip to main content
Sign Up to vote bad
good
See more: WPFVB.NET
Hello,
Dim cv As BindingListCollectionView = CollectionViewSource.GetDefaultView(dt)
 
This Code works good:
Dim newRow = CType(cv.AddNew, System.Data.DataRowView).Row
This Code doesn't work:
Dim newRow = CType(cv.EditItem(cv.CurrentItem), System.Data.DataRowView).Row
Is there any possibility that "EditItem" and "View" work with each other?
 
Dirk
Posted 11 Sep '12 - 7:21
MSDirkP318
Edited 11 Sep '12 - 7:25


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 375
1 Sergey Alexandrovich Kryukov 173
2 Abhinav S 168
3 Guirec Le Bars 120
4 Ron Beyer 100
0 Sergey Alexandrovich Kryukov 8,439
1 OriginalGriff 6,681
2 CPallini 3,553
3 Rohan Leuva 2,793
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 11 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid