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);

}

}



#region 获取成品类型
/// <summary>
/// 获取成品类型
/// </summary>
/// <returns></returns>
public static DataTable GetPartType()
{
try
{
return BrainSoft.PRC.Process.SqlDataProvider.GetPartType();
}
catch(Exception ex)
{
throw(ex);
}
}
#endregion

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2021-11-18
  • 2021-07-04
  • 2022-12-23
相关资源
相似解决方案