/// <summary>
 /// ��ѯ��Ӧ�̱��
 /// </summary>
 /// <returns></returns>
 public DataTable GetSupplierCode()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownSupplierDao dao = new DownSupplierDao();
         return dao.GetSupplierCode();
     }
 }
 /// <summary>
 /// ���س�����Ϣ
 /// </summary>
 /// <returns></returns>
 public DataTable GetSpplierInfo(string spplierCode)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
     {
         DownSupplierDao dao = new DownSupplierDao();
         dao.SetPersistentManager(dbPm);
         return dao.GetSupplierInfo(spplierCode);
     }
 }
 /// <summary>
 /// �����ص����ݲ��뵽���ݿ�
 /// </summary>
 /// <param name="ds"></param>
 public void InsertSpplier(DataSet ds)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownSupplierDao dao = new DownSupplierDao();
         dao.Insert(ds);
     }
 }