public ActionResult Update(tblHotelDetail E)//this action method is used to update the data in hoteldetail table { string m = Dbclass.GethotelData(E); ViewBag.msg = m; return(View("HotelUpdate")); }