J
james crosthwaite via .NET 247
Hi,
I'm pretty new to .NET and i'm having a major problem which ireally need some help with.
I am developing an application for my office which allows usersto book rooms. I have a Booking Form which contains a datagridlisting attendees for the meeting. On this form there is abutton which takes the user to a new form to add between 1 and 5guests. Once the guests have been added the system takes theuser back to the booking form via a piece of javascript(history.go(-2)). This is all well and good but i need thedatagrid on the booking form to refresh when the user goes backto the page, to show the added guests. I have written code topopulate the datagrid from a database which is called in thepage_load event. What i need to know is, is there a way to takethe user back to the booking form (without losing any datathey've filled in) and refreshing the datagrid to show theupdates?
Hope this makes sense!!
I'm pretty new to .NET and i'm having a major problem which ireally need some help with.
I am developing an application for my office which allows usersto book rooms. I have a Booking Form which contains a datagridlisting attendees for the meeting. On this form there is abutton which takes the user to a new form to add between 1 and 5guests. Once the guests have been added the system takes theuser back to the booking form via a piece of javascript(history.go(-2)). This is all well and good but i need thedatagrid on the booking form to refresh when the user goes backto the page, to show the added guests. I have written code topopulate the datagrid from a database which is called in thepage_load event. What i need to know is, is there a way to takethe user back to the booking form (without losing any datathey've filled in) and refreshing the datagrid to show theupdates?
Hope this makes sense!!