Cómo combinar varias listas y usarlas como fuente de datos GridView
ASP.net:
<asp:GridView ID="gvSP" runat="server" AutoGenerateColumns="true">
</asp:GridView>
Código detrás:
lstName.Add(lstN[f]); //name
lstCMSID.Add(lstNum[f]); //number
lstSpecialtyPhys.Add(data.Text.ToString()); //value
Me gustaría combinar las tres listas y mostrarlas en el GridView anterior, así:
Name Number Value
John Doe 56 90
James Coon 34 24
¿Cómo puedo lograr lo anterior para que haya tres columnas con tres textos de encabezado diferentes?