예제 #1
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            // Get the ProductTable from  the Session State
            // so we can bind to it.
            productTable = Session["productTable"] as DataTable;

            // Force the Binding to occur
            // on the Data Binding that we created in the
            // ASP.NET Page
            // Or you could call DataBind() on the page to force all controls to
            // data bind.
            theTextBox.DataBind();
        }