Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to determine if the dt has rows?
Message
From
11/05/2009 19:07:00
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01399235
Message ID:
01399274
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I want to be able to have my Add button to add a record into the Orders DS if I don't have a record there and then add record to the Details table.
>
>My question is - how can I check if I already have records in Orders DS or not?
>
>Thanks a lot in advance.


Naomi,

I don't understand why, as an ASP.Net programmer, you keep asking such basic beginning questions that any google search would answer for you. You are asking for help almost every line of code. I gave you a full sample that shows everything, yet you fail to use it.

Google datagrid .net row count.... and look at the results. It will show you how to do it. when you figure it out, it'll mean more than if someone gives you the code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform