Forums - C# Corner

Forum guidelines
Tiger Singh

Tiger Singh

  • 1.4k
  • 38
  • 864

If .. Else on Button Click !!

Sep 14 2017 12:02 PM
Hi There,
 
I have attached code for button click and now need to put the conditon where on if user does not select any filter then should give entire record what i have for select statement.
 
i.e. i am not selecting the listbox values and directly clicking on button then must to give all records of query vise versa works for listbox filter even.
 
Pls help here !! 
 

Attachment: cs.zip

Answers (5)