Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# to VB.Net conversion of code (Only 1 line!)
Message
From
12/05/2004 00:37:19
 
 
To
11/05/2004 23:15:21
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00903057
Message ID:
00903067
Views:
17
Pierre,

>>Does anyone know the Vb.Net equivalent to ((DataView)cm.List).AllowNew ?

This is called casting in C#. You use CType in VB.
CType(cm.List, DataView).AllowNew = False
For future reference, there are a few C#-to-VB conversion websites, which is what I used since I'm not familiar with all the VB syntax. Next time, try this one:

http://authors.aspalliance.com/aldotnet/examples/translate.aspx

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform