コード例 #1
0
 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;
         }
     }
 }
コード例 #2
0
 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();
         }
     }
 }
コード例 #3
0
    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();
            }
        }
    }
コード例 #4
0
 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();
             }
         }
     }
 }