private void BindDineLocationBreadCrumb() { using (ClsDine ObjDine = new ClsDine()) { using (ClsLocation ObjLocation = new ClsLocation()) { ObjLocation.LocationName = Page.RouteData.Values["locationname"].ToString().Replace("-", " "); int lic = ObjLocation.GetLocationID(); ObjDine.LocationID = lic; string str = ObjDine.GetDineLocationBreadCrumb(); litbreadcrumb.Text = str; } } }
private void GetDineHotelWise() { using (ClsOurHotels ObjHotel = new ClsOurHotels()) { using (ClsLocation ObjLocation = new ClsLocation()) { ObjLocation.LocationName = Request.Form["LocationName"].Replace("-", " "); int lic = ObjLocation.GetLocationID(); ObjHotel.LocationID = lic; string str = ObjHotel.GetLocationHotel(); //LitLocationDine.Text = str; Response.Write(str); Response.End(); } } }
private void GetDineCuisineWise() { using (ClsDine ObjDine = new ClsDine()) { using (ClsLocation ObjLocation = new ClsLocation()) { ObjLocation.LocationName = Request.Form["LocationName"].Replace("-", " "); int lic = ObjLocation.GetLocationID(); ObjDine.LocationID = lic; ObjDine.CuisinesType = Request.Form["CuisineType"].Trim(); string str = ObjDine.GetDineCuisineWiseLocation(); //LitLocationDine.Text = str; Response.Write(str); Response.End(); } } }
private void GetDineNameWise() { using (ClsDine ObjDine = new ClsDine()) { using (ClsLocation ObjLocation = new ClsLocation()) { if (Request.Form["orderby"] == "R") { ObjLocation.LocationName = Request.Form["LocationName"].Replace("-", " "); int lic = ObjLocation.GetLocationID(); ObjDine.LocationID = lic; string str = ObjDine.GetDineNameWiseLocation(); //LitLocationDine.Text = str; Response.Write(str); Response.End(); } else { Response.Write("done"); Response.End(); } } } }