How to return an array of class type and fill?
问题 I have a function which is supposed to return an array of class type. So from database I picked data and filled datatable. Now from datatable I am picking columns value and assigning to the properties of the class. But problem is that what I am doing will assign a single record only but I want to fill the class type array with multiple record. My code: Private Sub BindGridInfoFunctionalLocation() Dim v_ObjDs As New DataSet Try v_ObjDs = v_ObjBREngine.FetchSqlDS("select FunctionalLocation as