ASPFriends.com 'aspngvb' list Archive - September 2004
Messages
Page: 1
Casting a DataItem to a DataRowView (5 replies)
ASPFriends.com 'aspngvb' list
Moved from [aspngfreeforall] to [aspngvb] by Marcie Jones marciejones@yahoo.com I have one line of code that doesnt seem to work in VB.Net, but does in C#. How do you cast these types in VB? Here is the line: Dim drv As DataRowView e.Item.DataItem The error states that it is an invalid cast. The same thing can be done in C#, however. What gives?
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com