Are you looking for something like following: Dim dt As DataTable = New DataTable() Dim str As String Dim s As String() = Array. ConvertAll(Of DataRow, String)(dt.Select(), Function(row As DataRow) DirectCast(row(""), String)) str = String. Join(",", s) In case of VB 8.0 (.Net 2.0) it does not support anonymous methods.To workaround that, use following code: Dim dt As DataTable = New DataTable() Dim str As String Dim s As String() = Array.
ConvertAll(Of DataRow, String)(dt.Select(), AddressOf ConvertRowToString) str = String. Join(",", s) ConvertRowToString function: Function ConvertRowToString(ByVal row As DataRow) As String Return DirectCast(row(""), String) End Function.
Are you looking for something like following: Dim dt As DataTable = New DataTable() Dim str As String Dim s As String() = Array. ConvertAll(Of DataRow, String)(dt.Select(), Function(row As DataRow) DirectCast(row(""), String)) str = String. Join(",", s) In case of VB 8.0 (.Net 2.0), it does not support anonymous methods.To workaround that, use following code: Dim dt As DataTable = New DataTable() Dim str As String Dim s As String() = Array.
ConvertAll(Of DataRow, String)(dt.Select(), AddressOf ConvertRowToString) str = String. Join(",", s) ConvertRowToString function: Function ConvertRowToString(ByVal row As DataRow) As String Return DirectCast(row(""), String) End Function.
It give syntax error "Experssion Excepted" in Function keyword – Ramamoorthy Feb 23 at 6:58 What version of VB/. Net Framework are you using? – decyclone Feb 23 at 6:59 Why are you using CType?
– Cody Gray Feb 23 at 7:05 VB. Net 2.0 Framework – Ramamoorthy Feb 23 at 8:30 @Cody Gray: VB. NET is not my first language.
:) – decyclone Feb 23 at 10:53.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.