Reflect through control that SQL table has data

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
BOOBICAsked:
Who is Participating?
 
iboutchkineCommented:
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
 
iboutchkineCommented:
Execute SQL
select count(*) from Table

and return the qty of records in the table
0
 
BOOBICAuthor Commented:
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
 
BOOBICAuthor Commented:
iboutchkine,

Thank you for your post. Your points submitted.

RGDS
Sam
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.