|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
I am trying to convert a C# file to VB.NET - need helpHello,
Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? [DataObjectMethod(DataObjectMethodType.Select, true)] static public List<RoleData> GetRoles() { return GetRoles(null, false); } Thanks -L Learner wrote:
Show quoteHide quote > Hello, <DataObjectMethod (DataObjectMethodType.Select, True)> _> Here is the code snippet I got strucked at. > I am unable to convert the below line of code to its equavalent vb.net > code. could some one please help me with this? > > [DataObjectMethod(DataObjectMethodType.Select, true)] > static public List<RoleData> GetRoles() > { > return GetRoles(null, false); > } > > > Thanks > -L Public Shared Function GetRoles () As List (Of RoleData) Return GetRoles (Nothing, False) End Function HTH -- Tom Shelton [MVP]
update form background color
DLL does not load Dynamically Datagrid, binded columns and unbinded columns Can't open a project by iteself? Solution opens every time! simple combo question Stepping between .Net IDE into a VB6 dll call is this possible... Format Function Textbox, how to detect enter "key" event. Redirect question |
|||||||||||||||||||||||