Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Reflect through control that SQL table has data

Posted on 2004-08-20
4
Medium Priority
?
209 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 800 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

618 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