Need to edge out the competition for your dream job? Train for certifications today.
DataRow dr=new DataRow;
int rowcount = 0;
DataSet ds = new DataSet();//assume that dataset is already filled with hundred records
for (int i = 4; i < 15; i++)
dr[rowcount] = ds.Tables.Rows[i];
//your code to manipulate/use these rows
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.