Diesel cost textbox1 combobox1
diesel rate textbox2 combobox2
amount textbox3 .
i want to validate when i run this suppose when user click combobox2 first want to show message as first select combobox1 first how tovalidate.
please help me.
regards,
narasiman P

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Oct 12, 2012, 4:38 AM EDT
if(cmb1.SelectedValue=="")
{
ErrorLabel.Text="Please select combobox1 first";
}