I have an Arraylist in which all the items are of the type object[2].
How can I bind it to a GridView ?
I need to be able to set the DataField property on the BoundField but I don’t know how to do that with an object[].
Thanks for replies!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Linqto generate list of anonymous objects.OR
Use
TemplateFieldand bind element viaEval().Code-behind,