7
Answers

load data table content into an array

I have a data table and i want to load my data table content into an array.how can i do this?help me....
 
  1. datatable dtnew data table();  //I have two column in my data table Name and Marks
 
 Name Marks
 A 20
 B 30
 C 40
 
I want to load it into an array like {("A",20), ("B",30),("c",40)}
please suggest me some ideas .... 
Answers (7)