关于ds.Tables[0].Select的写法问题

2025-04-28 07:32:26
推荐回答(1个)
回答1:

Length是int类型的你应该判断.Length!=0;

Select返回的是符合查询条件的DataRow[]数组

祝你好运!