Binding Generic List Array to GridView

后端 未结 3 1746
慢半拍i
慢半拍i 2021-01-28 07:53

Hi I have a List which returns an array of \"Question\". My question is how can I bind this to a grid view? When I try to call Question.Ordinal I get that it does not exist in

3条回答
  •  终归单人心
    2021-01-28 08:34

    Just set it directly to Ordinal, as the first examples in the post you just linked to:

    
    
       
       
       
    
    
    

    Say:

    
    

提交回复
热议问题