rajeev kumar

rajeev kumar

  • 1.8k
  • 141
  • 8.1k

getting error when passing multiple argument

May 21 2015 2:01 AM
sir i want to retrieve those values which is not null. i have written this query but getting error. please help.
my query is :-
 SqlCommand sqlcmd = new SqlCommand("Select wifi,restaurant,Transport,Exercise,Business,FoodBar,Casino,Swimming,Shopping,Wheelchair from hotel_facilities where wifi,restaurant,Transport,Exercise,Business,FoodBar,Casino,Swimming,Shopping,Wheelchair is Not null in(Select hotel_name from hotel_Addrecord where hotel_id='" + getid + "' )", sqlcon);

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (1)