![]() |
FrankR_ENTA 7/25/2020 |
Is there an example of how to use C# code to return data for a SQL View in C# Mode? I need to return a list of Enum names and values so it can be used in a drop list. I've figured out how to get the list of names and values using Linq, but I don't know how to convert it to a proper XVar that ASPRunner.Net is expecting. Thanks, Craig
|
![]() |
FrankR_ENTA 7/25/2020 |
I couldn't resist. Had to test and get it working. Now I'm going to be late. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=92085&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
|
C
|
cboucher author 7/25/2020 |
Thanks so much! That worked perfectly. Here is my final code. dynamic vdataSource = null; |