Exemplo n.º 1
0
 public string CheckIDDG(string id)
 {
     if (id != null || id != "")
     {
         QuaTrinhMuonTraBLL qt = new QuaTrinhMuonTraBLL();
         return(qt.LayTen(id));
     }
     return("");
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         string page = (Request.QueryString["ID"] + "" != "") ? ("" + Request.QueryString["ID"]) : "";
         hMa.InnerHtml  = page;
         hTen.InnerHtml = qtrbll.LayTen(page);
         List <ChiTietMuonTra> dt   = new List <ChiTietMuonTra>();
         DataTable             tbno = qtrbll.DocGiaSachNo(page);
         ViewState["SachNo"] = tbno;
         DataTable tbxo = tbno.Clone();
         ViewState["Xoa"] = tbxo;
         loadsno();
     }
 }