TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Katie B
NA
66
18.1k
Validation Advice Please.....
Apr 17 2013 1:36 PM
I've written a SQL statement that will check the class capacity (as below):
myOleDbCommand.CommandText = "SELECT Capacity FROM Classes WHERE ModuleID = " + lstModCode.SelectedItem + " ";
But is there a way to use the data its pulled as capacity, to link it to an if statement.
E.g if (capacity > 25)
{
Messagebox.Show(Insert message here)
}
Or would the data its pulling back need to be stored somewhere?
Reply
Answers (
6
)
filling combobox with datatable
C# and Trackbar