/// <summary> /// 方法说明:根据名称获取典型工艺类型 /// 作者:jason.tang /// 完成时间:2013-07-23 /// </summary> /// <param name="name">类型名</param> /// <returns></returns> public static DataTable GetTypicalCategory(string name) { DataTable dt = new DataTable(); try { DataSet ds = TypicalProcessDAL.GetTypicalCategory(name); if (ds != null && ds.Tables.Count > 0) { dt = ds.Tables[0]; } } catch (Exception ex) { throw ex; } return(dt); }