Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
2
Reply
How to check if the Dataset has records ?
Samir Bhogayta
10y
483
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
DataSet ds// ... instantiate DataSet bool hasRows = ds.Tables.Cast
().Any(table => table.Rows.Count != 0);This will return true if there are any rows in any of the tables. It will return false if there are no tables or no rows.
Ravi Patel
9y
0
if ds.Tables(0).Rows.Count= 0 then 'No record else 'record found
Samir Bhogayta
10y
0
What is Machine.config in .NET?
What is Web.config in .NET?
Message