The dataset queried from the database according to the specified conditions is put into the able. This is a common usage and does not need to be detailed. With the dataset, we need to perform another matching, find the qualified data item, and output the data in the row or store it in another able. How do I do this? I used to use loops, either for (INT I = 0; I <DT. Rows. Count; I ++) or foreach (datarow DR in DT. Rows ). Later, it was found that this was too slow. Sometimes it was just a piece of data, and every time it had to loop through the entire dataset, wasting server resources and user time. So I switched to a datatable object method: Public datarow [] Select (string filterexpression), which avoids the server overhead caused by loops and saves time. For a large amount of data, it is a good solution. If you are interested, you can try it in future development ~~