tags:

views:

24

answers:

1

I want create a generic(genaral) method which accepts the return types of LINQ 2 SQL query (a list of objects- IEnumerable) againist different table as the parameter of the function. How can i define my parameter for the function ? I will use this function to bind the data to a grid. Thanks in advance

A: 

I got the anwer here

Public Sub FormatGrid(Of T)(ByVal varList As IEnumerable(Of T))

End Sub

Shyju