Dinesh Santhalingam

Dinesh Santhalingam

  • NA
  • 737
  • 358.5k

Split data table column into an Array

Jan 6 2017 7:26 AM
I have a Data Table named as dt .The Table contains the following.,
 Name 
 bike name Rate
Ram  A 20
 Sri B 10
 dina C 40
 Ram  D 50
 Sri E 60
 dina F 70
 Ram S 80
 Sri Q 65
 dina L 70
 Sonu B 30
 Now I want to split the Table column "Name" and extract the names from that data column to string Array[].
O/p: string[]arr={"Ram","Sri","dina"} .I don't know how to solve this problem.Help me to solve this.

Answers (6)