Click here to Skip to main content
15,888,297 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
How to check if a database is empty or not through combobox in c#?
Posted
Updated 13-Sep-11 22:01pm
v3
Comments
imaa2amha 14-Sep-11 3:44am    
Please Clear your Question
P.Salini 14-Sep-11 3:56am    
can you be more clear
theanil 14-Sep-11 3:57am    
What exactly you want?
frame the question clearly.
Prerak Patel 14-Sep-11 4:23am    
Not clear
nagendrathecoder 14-Sep-11 4:25am    
Provide some details or some code snippet which u tried.

1 solution

C#
if ((comboBox5.SelectedIndex==-1) || (comboBox6.SelectedIndex==-1) || (comboBox3.SelectedIndex==-1) || (comboBox7.SelectedIndex==-1))
            {
                MessageBox.Show("Data base has been empty");
               
            }
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900