• +91 9723535972
  • info@interviewmaterial.com

VB.Net Interview Questions and Answers

Question - How To Check For A Particular Record Whether It Is Present Or Not In Dataset

Answer -

if the record is not present i want to display a message as no records what is the code for checking
if you are using "DataReader" then
if DataReaderName.HasRows then
statements
else
statements
end if
if you are using "DataSet" then
if DataSetName.TABLES.("tablename").ROWS.COUNT=0 THEN
statements.
end if

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners