Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (Request["id"] != null)
         {
             U_ItemBU  item1 = new U_ItemBU();
             Hashtable ht    = item1.GetDetailByID(Request["id"]);
             this.itemtext.Text  = ht["itemtext"].ToString();
             this.itemvalue.Text = ht["itemvalue"].ToString();
             item1.Close();
         }
         else
         {
             Response.Redirect("~/Error.aspx", true);
         }
     }
 }