public DataSet GetDeptInfobyID(int DeptId) { dbproduct = new DBProduct(); DS = new DataSet(); int Result = 0; try { DS = dbproduct.GetDeptInfobyID(DeptId); return(DS); } catch (Exception) { throw; } }