protected void Button2_Click(object sender, EventArgs e)
        {
            String s = goodsId.Value.ToString();
            String p = price.Value.ToString();
            bool   a = Goods_C.AlterByID(s, p);

            if (a == true)
            {
                Response.Write("<script language=javascript>window.alert('修改成功');</script>");
            }
            else
            {
                Response.Write("<script language=javascript>window.alert('修改失败');</script>");
            }
            goods = Goods_C.SelectFuzzy(s);
        }
 protected void Button4_Click(object sender, EventArgs e)
 {
     try
     {
         String s = goodsId.Value.ToString();
         bool   a = Goods_C.DeleteByID(s);
         if (a == true)
         {
             Response.Write("<script language=javascript>window.alert('删除成功');</script>");
         }
         else
         {
             Response.Write("<script language=javascript>window.alert('删除失败');</script>");
         }
         goods = Goods_C.SelectFuzzy(s);
     }
     catch (Exception em)
     {
         Response.Write("<script language=javascript>window.alert('不含有该商品,删除失败');</script>");
     }
 }
        protected void Button1_Click(object sender, EventArgs e)
        {
            String s = goodsId.Value.ToString();

            goods = Goods_C.SelectFuzzy(s);
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     goods = Goods_C.SelectFuzzy("");
 }