摘要:
public static string GetPartTypeID(string partTypeNo){ try { DataTable dt=GetPartType(); DataRow[] drs=dt.Select("PartTypeNo='"+partTypeNo+"'"); if(drs.Length>0) { return drs[0]["PartTypeID"].ToString(); } return ""; } catch(Exception ex) { throw(ex 阅读全文