Exemplo n.º 1
0
        protected void Add_click(object sender, EventArgs e)
        {
            RoomClass   rc = new RoomClass();
            room_master r  = new room_master();

            r.roomtype = type_tb.Text;
            r.roomcost = Int32.Parse(Cost_tb.Text);
            rc.addRoom(r);
            Response.Redirect("AdminViewRoom.aspx");
        }