This is a migrated thread and some comments may be shown as answers.

[Solved] custom function in grid column

0 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abbas
Top achievements
Rank 1
Abbas asked on 07 Jul 2012, 09:55 AM
I want use this code in my gird column but i saw this error
"BC36675: Statement lambdas cannot be converted to expression trees."
columns.Bound(Function(model)
                                           Select Case model.status
                                               Case 1
                                               
                                                
                                               Case 2
                                               
                                               Case 3
                                               Case Else
                                                   Return ("sdfsdf")
                                           End Select
                                           
                                   End Function).title("aaaaaa")
Tags
Grid
Asked by
Abbas
Top achievements
Rank 1
Share this question
or