Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

datatable to array c#

string[] arrray = dt.Rows.OfType<DataRow>().Select(k => k[0].ToString()).ToArray();
 
PREVIOUS NEXT
Tagged: #datatable #array
ADD COMMENT
Topic
Name
4+4 =