V
VJ
I have:
page one
<form runat=server>
<asp:TextBox ID="fTime" runat="server" Visible="true" Text='<%#
DataBinder.Eval(Container.DataItem, "fTime", "{0:h:mm tt}")%>'/>
<asp:Button ID="Purchase" runat=server Text="buy" Heigh="3mm"
Width="15mm" PostBackUrl="page2.aspx"/>
</form>
and i'm trying to pass it to a session on page two and I'm making no
progress.
page two..
<script language="c#" runat="server">
void Page_Load(object sender, EventArgs e)
{
TextBox fTime;
fTime = (TextBox)Page.PreviousPage.FindControl("fTime");
Session["fTime"] = fTime;
}
</script>
page one
<form runat=server>
<asp:TextBox ID="fTime" runat="server" Visible="true" Text='<%#
DataBinder.Eval(Container.DataItem, "fTime", "{0:h:mm tt}")%>'/>
<asp:Button ID="Purchase" runat=server Text="buy" Heigh="3mm"
Width="15mm" PostBackUrl="page2.aspx"/>
</form>
and i'm trying to pass it to a session on page two and I'm making no
progress.
page two..
<script language="c#" runat="server">
void Page_Load(object sender, EventArgs e)
{
TextBox fTime;
fTime = (TextBox)Page.PreviousPage.FindControl("fTime");
Session["fTime"] = fTime;
}
</script>