
Testing for No Records
90
lượt xem 4
download
lượt xem 4
download

[ Team LiB ] Recipe 2.11 Testing for No Records Problem You need to determine whether any records were returned from a query that you just executed. Solution Use the DataRowCollection.Count property, the DataReader.HasRows property, or the DataReader.Read( ) method.
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!

CÓ THỂ BẠN MUỐN DOWNLOAD