Solved

Reflect through control that SQL table has data

Posted on 2004-08-20
4
206 Views
Last Modified: 2010-04-23
Hi everybody:

I would like visually indicate on Win Form that specific SQL table has data in it. Nice thing would be to indicate what time data was loaded into SQL.

Any ideas would be appreceated.

RGDS
Sam
0
Comment
Question by:BOOBIC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:iboutchkine
ID: 11854462
Execute SQL
select count(*) from Table

and return the qty of records in the table
0
 

Author Comment

by:BOOBIC
ID: 11856480
iboutchkine,

Thank you  for your post. If I want to show that I have records in a SQL table at the front end through changing colors on checkbox, how to do that?

RGDS
Sam
0
 
LVL 28

Accepted Solution

by:
iboutchkine earned 200 total points
ID: 11880851
After you executed the count SQL you know how many records in your SQL table
if count = 0 then paint your checkbox in one color. If the count > than 0 than paint it to another
0
 

Author Comment

by:BOOBIC
ID: 11882399
iboutchkine,

Thank you for your post. Your points submitted.

RGDS
Sam
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question