Get Data from DataTable using Index

Hi All,

I want to extract the data from DataTable using index of Datatable(Start & End Index).
I can get the indexes but how do i get the data between those indexes.

Please help me…

Regards,
Muthu

@muthu.m Which Index Data or Which row of Column Data you want to Retrieve?

@supermanPunch i have Index_Var=datatable.Rows.IndexOf(row) . I want retrieve full row using this index.

@muthu.m After you get the Index, You can get the row value using this :
Datatable.Rows(Index_Var)

@supermanPunch I have startIndex and endIndex . I need to extract the data between these two indexes.
For example: stratIndex = 20 & endIndex = 27

@muthu.m Can you try this :
DT.AsEnumerable.Skip(startIndex+1).Take((endIndex+1)-(startIndex+1)).ToArray