DataRow[] dr=datatable.select("id='1' and name='张三'"); if(dr.Length>0) { ...//若找到数据,那么... } //查询datatable中ID等于1并且name为张三的行数据.
確定! 回上一頁