private void ShowAttactFile() { string macongty = Session["congty"].ToString(); string idphieu = Session["maphieu"].ToString(); gvDetails.DataSource = PDNLinkDAO.GetLinkAttactFileByPDNO(macongty, idphieu); gvDetails.DataBind(); }
private void ShowAttactFile() { string macongty = Session["congty"].ToString(); string idphieu = Session["maphieu"].ToString(); //gvDetails.DataSource = db.ExecuteQuery<PDNLink>("select * from PDNLink where pdno='" + idphieu + "' and Gsbh='" + macongty + "' and Cancel='0'"); gvDetails.DataSource = PDNLinkDAO.GetLinkAttactFileByPDNO(macongty, idphieu); gvDetails.DataBind(); }
public static bool UpdateFile(PDNLink pdn) { try { return(PDNLinkDAO.UpdateFile(pdn)); } catch (Exception) { throw; } }
public static bool InsertFile(PDNLink pdn) { try { return(PDNLinkDAO.InsertFile(pdn)); } catch (Exception) { throw; } }
public static List <PDNLink> GetLinkAttactFileByPDNO(string congty, string pdno) { try { return(PDNLinkDAO.GetLinkAttactFileByPDNO(congty, pdno)); } catch (Exception) { throw; } }